better-genshin-impact/Build/MicaSetup/MicaSetup.csproj
2024-10-13 21:09:41 +08:00

95 lines
3.6 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net472</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<UseWinUI>false</UseWinUI>
<Platforms>AnyCPU;x64</Platforms>
<ApplicationIcon>Resources\Images\FaviconSetup.ico</ApplicationIcon>
<StartupObject>MicaSetup.Program</StartupObject>
<PlatformTarget>AnyCPU</PlatformTarget>
<AssemblyName>MicaSetup</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyInfoFile>Program.cs</AssemblyInfoFile>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ApplicationManifest>app.manifest</ApplicationManifest>
<EnableNETAnalyzers>false</EnableNETAnalyzers>
<AnalysisLevel>6.0-recommended</AnalysisLevel>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>app.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<None Remove="Resources\*.ico" />
<None Remove="Resources\Fonts\*.ttf" />
<None Remove="Resources\Fonts\IcoMoon\Output\fonts\icomoon.ttf" />
<None Remove="Resources\Licenses\license.*.txt" />
<None Remove="Resources\Setups\*.7z" />
<None Remove="Resources\Setups\*.zip" />
<None Remove="Resources\Setups\*.exe" />
<None Remove="Resources\Setups\*.cer" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Fonts\*.ttf" />
<Resource Include="Resources\Fonts\IcoMoon\Output\fonts\icomoon.ttf" />
<Resource Include="Resources\Images\*.ico" />
<Resource Include="Resources\Images\*.png" />
<Resource Include="Resources\Licenses\license.*.txt" />
<Resource Include="Resources\Setups\*.7z" />
<Resource Include="Resources\Setups\*.appx" />
<Resource Include="Resources\Setups\*.appxbundle" />
<Resource Include="Resources\Setups\*.msix" />
<Resource Include="Resources\Setups\*.msixbundle" />
<Resource Include="Resources\Setups\*.msi" />
<Resource Include="Resources\Setups\*.zip" />
<Resource Include="Resources\Setups\*.exe" />
<Resource Include="Resources\Setups\*.cer" />
</ItemGroup>
<ItemGroup>
<Compile Remove="ViewModels\Uninst\**" />
<Content Remove="ViewModels\Uninst\**" />
<EmbeddedResource Remove="ViewModels\Uninst\**" />
<None Remove="ViewModels\Uninst\**" />
<Page Remove="ViewModels\Uninst\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Views\Uninst\**" />
<Content Remove="Views\Uninst\**" />
<EmbeddedResource Remove="Views\Uninst\**" />
<None Remove="Views\Uninst\**" />
<Page Remove="Views\Uninst\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Program.un.cs" />
<None Remove="Program.un.cs" />
<None Remove="Resources\Images\*.png" />
<None Remove="Resources\Setups\Uninst.exe" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Costura.Fody" Version="5.7.0" Condition=" '$(Configuration)' == 'Release'">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.77" />
<PackageReference Include="SharpCompress" Version="0.33.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Management" />
<Reference Include="System.Net.Http" />
</ItemGroup>
</Project>