Ips.Service.CapServer.csproj 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <TargetFramework>net7.0-windows</TargetFramework>
  5. <Nullable>disable</Nullable>
  6. <UseWindowsForms>true</UseWindowsForms>
  7. <ImplicitUsings>enable</ImplicitUsings>
  8. <AssemblyName>采集服务</AssemblyName>
  9. <GenerateDocumentationFile>True</GenerateDocumentationFile>
  10. <ApplicationIcon>$(SolutionDir)logo.ico</ApplicationIcon>
  11. <NoWin32Manifest>true</NoWin32Manifest>
  12. </PropertyGroup>
  13. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  14. <DebugType>none</DebugType>
  15. <DebugSymbols>false</DebugSymbols>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  18. <NoWarn>1701;1702;CS1591;</NoWarn>
  19. </PropertyGroup>
  20. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  21. <NoWarn>1701;1702;CS1591;</NoWarn>
  22. </PropertyGroup>
  23. <ItemGroup>
  24. <FrameworkReference Include="Microsoft.AspNetCore.App" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <PackageReference Include="DevExpress.Win.Design" Version="24.1.6" PrivateAssets="all" />
  28. <PackageReference Include="Grpc.AspNetCore" Version="2.66.0" />
  29. </ItemGroup>
  30. <ItemGroup>
  31. <ProjectReference Include="..\..\ipslib\Ips.Library.Basic\Ips.Library.Basic.csproj" />
  32. <ProjectReference Include="..\..\ipslib\Ips.Library.DxpLib\Ips.Library.DxpLib.csproj" />
  33. <ProjectReference Include="..\..\ipslib\Ips.Library.Entity\Ips.Library.Entity.csproj" />
  34. <ProjectReference Include="..\..\ipslib\Ips.Library.WebApi\Ips.Library.WebApi.csproj" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <Protobuf Include="Protos\FileOper.proto" GrpcServices="Server" />
  38. </ItemGroup>
  39. <ItemGroup>
  40. <Compile Update="DirectXForm1.cs" />
  41. </ItemGroup>
  42. <ItemGroup>
  43. <None Update="test.dat">
  44. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  45. </None>
  46. </ItemGroup>
  47. <Target Name="PostBuild" AfterTargets="PostBuildEvent">
  48. <Exec Command="xcopy $(SolutionDir)AddIns $(PublishDir)AddIns\ /d /ey" />
  49. </Target>
  50. </Project>