123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <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>
- <RootNamespace>Ips.CorTool</RootNamespace>
- <ApplicationIcon>参估.ico</ApplicationIcon>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <DebugType>none</DebugType>
- <DebugSymbols>false</DebugSymbols>
- </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>
- <Compile Update="Properties\Resources.Designer.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
- <Compile Update="Properties\Settings.Designer.cs">
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <None Update="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\ipslib\Ips.Library.Basic\Ips.Library.Basic.csproj" />
- <ProjectReference Include="..\..\..\ipslib\Ips.Library.CliLib\Ips.Library.CliLib.csproj" />
- <ProjectReference Include="..\..\..\ipslib\Ips.Library.DxpLib\Ips.Library.DxpLib.csproj" />
- <ProjectReference Include="..\..\det\Ips.DetDm.Core\Ips.DetDm.Core.csproj" />
- <ProjectReference Include="..\..\det\Ips.DetDmt.Core\Ips.DetDmt.Core.csproj" />
- <ProjectReference Include="..\..\det\Ips.DetNl.Core\Ips.DetNl.Core.csproj" />
- <ProjectReference Include="..\Ips.CorCoc.Core\Ips.CorCoc.Core.csproj" />
- <ProjectReference Include="..\Ips.CorCog.Core\Ips.CorCog.Core.csproj" />
- <ProjectReference Include="..\Ips.CorCpu.Core\Ips.CorCpu.Core.csproj" />
- <ProjectReference Include="..\Ips.CorGpu.Core\Ips.CorGpu.Core.csproj" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Update="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- </EmbeddedResource>
- </ItemGroup>
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
- <Exec Command="rd "$(TargetDir)ipscli" /s /q
::xcopy "$(ProjectDir)..\..\..\ipscli\*.*" "$(TargetDir)ipscli" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\coc\*.*" "$(TargetDir)ipscli\coc" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\cog\*.*" "$(TargetDir)ipscli\cog" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\corc\*.*" "$(TargetDir)ipscli\corc" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\corg\*.*" "$(TargetDir)ipscli\corg" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\detdm\*.*" "$(TargetDir)ipscli\detdm" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\detdmt\*.*" "$(TargetDir)ipscli\detdmt" /E /Y /I /Q /R
xcopy "$(ProjectDir)..\..\..\ipscli\detnl\*.*" "$(TargetDir)ipscli\detnl" /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>
|