1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <OutputType>WinExe</OutputType>
- <TargetFramework>net7.0-windows</TargetFramework>
- <Nullable>disable</Nullable>
- <UseWindowsForms>true</UseWindowsForms>
- <ImplicitUsings>enable</ImplicitUsings>
- <AssemblyName>采集工具</AssemblyName>
- <ApplicationIcon>采集.ico</ApplicationIcon>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <DebugType>none</DebugType>
- <DebugSymbols>false</DebugSymbols>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <NoWarn>1701;1702;CS9057;</NoWarn>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <NoWarn>1701;1702;CS9057;</NoWarn>
- </PropertyGroup>
- <ItemGroup>
- <Content Include="采集.ico" />
- </ItemGroup>
- <ItemGroup>
- <PackageReference Include="DevExpress.Win.Design" Version="23.2.3" />
- <PackageReference Include="PropertyChanged.Fody" Version="4.1.0">
- <PrivateAssets>all</PrivateAssets>
- </PackageReference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\ipslib\Ips.Library.Basic\Ips.Library.Basic.csproj" />
- <ProjectReference Include="..\..\..\ipslib\Ips.Library.DxpLib\Ips.Library.DxpLib.csproj" />
- <ProjectReference Include="..\..\..\ipslib\Ips.Library.Entity\Ips.Library.Entity.csproj" />
- <ProjectReference Include="..\Ips.Adc.Core\Ips.Adc.Core.csproj" />
- <ProjectReference Include="..\Ips.Adc.General.Core\Ips.Adc.General.Core.csproj" />
- <ProjectReference Include="..\Ips.Adc.Shared\Ips.Adc.Shared.csproj" />
- </ItemGroup>
- <ItemGroup>
- <None Update="AppData\adconfig.json">
- <CopyToOutputDirectory>Never</CopyToOutputDirectory>
- </None>
- <None Update="AppData\readme.txt">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
- <Exec Command="::rd "$(TargetDir)\ipscli" /s /q
xcopy "$(ProjectDir)..\..\..\ipscli\adc\*.*" "$(TargetDir)\ipscli\adc" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\adg\*.*" "$(TargetDir)\ipscli\adg" /E /Y /I /Q /R" />
- </Target>
- <Target Name="AddPublishIpsCli" AfterTargets="Publish">
- <Exec Command="xcopy "$(TargetDir)ipscli\*.*" "$(PublishDir)ipscli" /E /Y /I /Q /R
" />
- <Exec Command="del "$(PublishDir)*.pdb" /F /Q" Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'" />
- </Target>
- </Project>
|