Client.csproj 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <TargetFramework>net8.0-windows7.0</TargetFramework>
  5. <Nullable>disable</Nullable>
  6. <UseWindowsForms>true</UseWindowsForms>
  7. <ImplicitUsings>enable</ImplicitUsings>
  8. <ApplicationIcon>MIR2.ICO</ApplicationIcon>
  9. <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  10. <PlatformTarget>x64</PlatformTarget>
  11. <BaseOutputPath>..\Build\Client\</BaseOutputPath>
  12. </PropertyGroup>
  13. <PropertyGroup>
  14. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  15. <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  18. <GenerateAssemblyInfo>True</GenerateAssemblyInfo>
  19. <NoWarn>1701;1702</NoWarn>
  20. </PropertyGroup>
  21. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  22. <GenerateAssemblyInfo>True</GenerateAssemblyInfo>
  23. <NoWarn>1701;1702</NoWarn>
  24. </PropertyGroup>
  25. <ItemGroup>
  26. <Content Include="MIR2.ICO" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <None Include="..\.editorconfig" Link=".editorconfig" />
  30. </ItemGroup>
  31. <ItemGroup>
  32. <PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
  33. <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40" />
  34. <PackageReference Include="NAudio" Version="2.2.1" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <ProjectReference Include="..\Shared\Shared.csproj" />
  38. </ItemGroup>
  39. <ItemGroup>
  40. <Reference Include="SlimDX">
  41. <HintPath>..\Components\SlimDX.dll</HintPath>
  42. </Reference>
  43. </ItemGroup>
  44. <ItemGroup>
  45. <Compile Update="Resources\Images.Designer.cs">
  46. <DesignTime>True</DesignTime>
  47. <AutoGen>True</AutoGen>
  48. <DependentUpon>Images.resx</DependentUpon>
  49. </Compile>
  50. </ItemGroup>
  51. <ItemGroup>
  52. <EmbeddedResource Update="Resources\Images.resx">
  53. <Generator>ResXFileCodeGenerator</Generator>
  54. <LastGenOutput>Images.Designer.cs</LastGenOutput>
  55. </EmbeddedResource>
  56. </ItemGroup>
  57. <ItemGroup>
  58. <None Update="Localization\Chinese.json">
  59. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  60. </None>
  61. <None Update="Localization\English.json">
  62. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  63. </None>
  64. <None Update="MIR2.ICO">
  65. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  66. </None>
  67. </ItemGroup>
  68. </Project>