chore(deps): update asf-ui digest to fe1f167
[ArchiSteamFarm.git] / ArchiSteamFarm / ArchiSteamFarm.csproj
blobe5db9bb50623560fb992c1c4f8f7bf90888e483b
1 <Project Sdk="Microsoft.NET.Sdk">
2         <PropertyGroup>
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>
10         </PropertyGroup>
12         <ItemGroup>
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" />
28         </ItemGroup>
30         <ItemGroup>
31                 <TrimmerRootDescriptor Include="TrimmerRoots.xml" />
32         </ItemGroup>
34         <ItemGroup>
35                 <EmbeddedResource Update="Localization\Strings.resx">
36                         <Generator>PublicResXFileCodeGenerator</Generator>
37                         <LastGenOutput>Strings.Designer.cs</LastGenOutput>
38                 </EmbeddedResource>
39         </ItemGroup>
41         <ItemGroup>
42                 <Compile Update="Localization\Strings.Designer.cs">
43                         <AutoGen>True</AutoGen>
44                         <DependentUpon>Strings.resx</DependentUpon>
45                         <DesignTime>True</DesignTime>
46                 </Compile>
47         </ItemGroup>
49         <ItemGroup>
50                 <Content Include="..\LICENSE.txt">
51                         <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
52                         <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
53                         <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
54                 </Content>
55                 <Content Include="overlay\all\**\*.*">
56                         <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
57                         <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
58                         <Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
59                 </Content>
60                 <Content Include="..\ASF-ui\dist\**\*.*">
61                         <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
62                         <Link>www\%(RecursiveDir)%(Filename)%(Extension)</Link>
63                 </Content>
64         </ItemGroup>
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>
71                 </Content>
72         </ItemGroup>
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>
79                 </Content>
80         </ItemGroup>
81 </Project>