1 <Project Sdk="Microsoft.NET.Sdk">
3 <DefaultItemExcludes>$(DefaultItemExcludes);config/**;debug/**;logs/**;overlay/**</DefaultItemExcludes>
4 <GenerateDocumentationFile>true</GenerateDocumentationFile>
5 <OpenApiGenerateDocuments>false</OpenApiGenerateDocuments>
6 <OutputType>Exe</OutputType>
8 <!-- TODO: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2550 -->
9 <JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>
13 <PackageReference Include="AngleSharp.XPath" />
14 <PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="all" />
15 <PackageReference Include="CryptSharpStandard" />
16 <PackageReference Include="Humanizer" />
17 <PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
18 <PackageReference Include="Markdig.Signed" />
19 <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
20 <PackageReference Include="Nito.AsyncEx.Coordination" />
21 <PackageReference Include="NLog.Web.AspNetCore" />
22 <PackageReference Include="SteamKit2" />
23 <PackageReference Include="Swashbuckle.AspNetCore" />
24 <PackageReference Include="Swashbuckle.AspNetCore.Annotations" />
25 <PackageReference Include="System.Composition" />
26 <PackageReference Include="System.Linq.Async" />
27 <PackageReference Include="System.Security.Cryptography.ProtectedData" />
31 <TrimmerRootDescriptor Include="TrimmerRoots.xml" />
35 <EmbeddedResource Update="Localization\Strings.resx">
36 <Generator>PublicResXFileCodeGenerator</Generator>
37 <LastGenOutput>Strings.Designer.cs</LastGenOutput>
42 <Compile Update="Localization\Strings.Designer.cs">
43 <AutoGen>True</AutoGen>
44 <DependentUpon>Strings.resx</DependentUpon>
45 <DesignTime>True</DesignTime>
50 <Content Include="..\LICENSE.txt">
51 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
52 <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
53 <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
55 <Content Include="overlay\all\**\*.*">
56 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
57 <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
58 <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
60 <Content Include="..\ASF-ui\dist\**\*.*">
61 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
62 <Link>www\%(RecursiveDir)%(Filename)%(Extension)</Link>
66 <ItemGroup Condition="'$(ASFVariant)' != '' AND Exists($([System.IO.Path]::Combine('overlay', 'variant-base', $(ASFVariant.Split('-')[0]))))">
67 <Content Include="overlay/variant-base/$(ASFVariant.Split('-')[0])/**/*.*">
68 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
69 <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
70 <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
74 <ItemGroup Condition="'$(ASFVariant)' != '' AND Exists($([System.IO.Path]::Combine('overlay', 'variant-specific', $(ASFVariant))))">
75 <Content Include="overlay/variant-specific/$(ASFVariant)/**/*.*">
76 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
77 <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
78 <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>