Server.csproj 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <BaseOutputPath>..\Build\Server\</BaseOutputPath>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  12. <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
  13. </PropertyGroup>
  14. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  15. <NoWarn>1701;1702</NoWarn>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  18. <NoWarn>1701;1702</NoWarn>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <Compile Remove="bin\**" />
  22. <EmbeddedResource Remove="bin\**" />
  23. <None Remove="bin\**" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <PackageReference Include="log4net" Version="3.3.0" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <ProjectReference Include="..\Server\Server.Library.csproj" />
  30. <ProjectReference Include="..\Shared\Shared.csproj" />
  31. </ItemGroup>
  32. <ItemGroup>
  33. <Reference Include="CustomFormControl">
  34. <HintPath>..\Components\CustomFormControl.dll</HintPath>
  35. </Reference>
  36. <Reference Include="Microsoft.VisualBasic.PowerPacks.Vs">
  37. <HintPath>..\Components\Microsoft.VisualBasic.PowerPacks.Vs.dll</HintPath>
  38. </Reference>
  39. </ItemGroup>
  40. <ItemGroup>
  41. <None Update="Localization\Chinese.json">
  42. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  43. </None>
  44. <None Update="Localization\English.json">
  45. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  46. </None>
  47. <None Update="log4net.config">
  48. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  49. </None>
  50. </ItemGroup>
  51. </Project>