Files
Hi.WinForm/Hi.WinForm.csproj
T
iambossandClaude Opus 5 d10837534c build(Hi.WinForm): record the deploy build number and drop the obj-cli ignore
obj-cli/ was the deploy's redirected NuGet restore output. That redirect is
reverted: MSBuildProjectExtensionsPath is a global property, so it propagated
into every ProjectReference and each referenced project wrote its own
project.assets.json into the referencing project's directory. Restore is back in
obj/, so nothing creates obj-cli/ any more.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-25 14:47:50 +08:00

52 lines
2.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<AssemblyName>Hi.WinForm</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
<Platforms>x64</Platforms>
<Description>WinForm Display module of HiAPI</Description>
<VersionBuild>12</VersionBuild>
<VersionPrefix>3.2.$(VersionBuild)</VersionPrefix>
<PackageTags>HiAPI</PackageTags>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Configurations>Debug;Release</Configurations>
<ApplicationIcon>..\acc\techcoordinate.ico</ApplicationIcon>
<StartupObject>Hi.WinForm.Program</StartupObject>
</PropertyGroup>
<Import Project="..\acc\common_info.props" />
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<IsIgnoreObfuscar>true</IsIgnoreObfuscar>
<Optimize>true</Optimize>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<!--inner projects dependency-->
<ItemGroup Condition="'$(Configuration)'=='Debug'">
<ProjectReference Include="..\HiDisp\HiDisp.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)'=='Release'">
<PackageReference Include="HiDisp" Version="3.2.*" />
</ItemGroup>
<Import Project="..\acc\deploy_local_nupkg.targets" Condition="'$(Configuration)'=='Release'" />
<ItemGroup>
<Compile Update="Disp\RenderingForm.cs" />
<Compile Update="Disp\RenderingCanvas.cs" />
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>