yangyin
2025-03-25 db33bc6d9a30db6be4b40e45097c9a87a67cc845
WinFrmUI/DPumpHydr.WinFrmUI.Ribbon/DPumpHydr.WinFrmUI.Ribbon.csproj
@@ -1,30 +1,45 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
  <PropertyGroup>
    <OutputType>Library</OutputType>
    <TargetFramework>net8.0-windows</TargetFramework>
    <Nullable>enable</Nullable>
    <TargetFramework>net8.0-windows7.0</TargetFramework>
    <UseWindowsForms>true</UseWindowsForms>
    <ImplicitUsings>enable</ImplicitUsings>
    <ApplicationIcon />
    <StartupObject />
    <Authors>RibbonWinForms</Authors>
    <PackageId />
    <Company>https://github.com/RibbonWinForms/RibbonWinForms</Company>
    <Product>System.Windows.Forms.Ribbon</Product>
    <AssemblyVersion>5.0.0.0</AssemblyVersion>
    <FileVersion>5.1.0.0</FileVersion>
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>WinFormsRibbon.snk</AssemblyOriginatorKeyFile>
    <DelaySign>false</DelaySign>
    <RootNamespace>System.Windows.Forms</RootNamespace>
    <AssemblyName>System.Windows.Forms.Ribbon</AssemblyName>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DefineConstants>TRACE;DEBUG;NetCore</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <DefineConstants>TRACE;NetCore</DefineConstants>
  </PropertyGroup>
  <ItemGroup>
    <Compile Update="Properties\Resources.Designer.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Remove="Setup\**" />
    <EmbeddedResource Remove="Setup\**" />
    <None Remove="Setup\**" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Update="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <Compile Remove="NativeMethods.cs" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Resources\" />
    <None Remove="Updates.txt" />
    <None Remove="WinFormsRibbon.snk" />
  </ItemGroup>
</Project>