52 lines
2.1 KiB
XML
52 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net9.0-windows</TargetFramework>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<AssemblyName>Hi.WinForm</AssemblyName>
|
|
<RootNamespace>$(AssemblyName)</RootNamespace>
|
|
<Platforms>x64</Platforms>
|
|
<Description>WinForm Display module of HiAPI</Description>
|
|
<VersionBuild>13</VersionBuild>
|
|
<VersionPrefix>1.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="1.4.*" />
|
|
</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> |