You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
5.3 KiB
129 lines
5.3 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />-->
|
|
|
|
<!-- 生成 -->
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
|
<LangVersion>latest</LangVersion>
|
|
<NoWarn>CS0108,CS0162,CS0414,CS0612,CS0618,CS0649,CS1589,CS1570,CS1572,CS1573,CS3019,CS3021</NoWarn>
|
|
<OutputType>Library</OutputType>
|
|
<TargetFrameworks>netcoreapp3.1;netstandard2.1;netstandard2.0;net461;net40;net20</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<!-- 程序集信息 -->
|
|
<PropertyGroup>
|
|
<Authors>Elivo</Authors>
|
|
<Company>Apewer Lab</Company>
|
|
<Copyright>Copyright Apewer Lab. All rights reserved.</Copyright>
|
|
<Description></Description>
|
|
<RootNamespace>Apewer</RootNamespace>
|
|
<Product>Apewer Libraries</Product>
|
|
<Version>6.3.3</Version>
|
|
</PropertyGroup>
|
|
|
|
<!-- NuGet -->
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<AssemblyName>Apewer</AssemblyName>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<IsPackable>true</IsPackable>
|
|
<PackageId>Apewer</PackageId>
|
|
<Title>Apewer</Title>
|
|
</PropertyGroup>
|
|
|
|
<!-- Debug -->
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
<DefineConstants>DEBUG;TRACE;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<!-- .NET Standard 2.1 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.1'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Standard 2.1</AssemblyTitle>
|
|
<DefineConstants>NETSTD;HAVE_ASYNC;HAVE_BIG_INTEGER;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<!-- .NET Standard 2.0 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Standard 2.0</AssemblyTitle>
|
|
<DefineConstants>NETSTD;HAVE_ASYNC;HAVE_BIG_INTEGER;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<!-- .NET Framework 2.0 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='net20'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Framework 2.0</AssemblyTitle>
|
|
<DefineConstants>NETFX;NET20;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)'=='net20'">
|
|
<Reference Include="CustomMarshalers" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Design" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Security" />
|
|
<Reference Include="System.Transactions" />
|
|
<Reference Include="System.Web" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
</ItemGroup>
|
|
|
|
<!-- .NET Framework 4.0 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='net40'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Framework 4.0</AssemblyTitle>
|
|
<DefineConstants>NETFX;NET40;HAVE_BIG_INTEGER;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)'=='net40'">
|
|
<Reference Include="CustomMarshalers" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Design" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Runtime.Caching" />
|
|
<Reference Include="System.Security" />
|
|
<Reference Include="System.Speech" />
|
|
<Reference Include="System.Transactions" />
|
|
<Reference Include="System.Web" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="WindowsBase" />
|
|
</ItemGroup>
|
|
|
|
<!-- .NET Framework 4.6.1 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='net461'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Framework 4.6.1</AssemblyTitle>
|
|
<DefineConstants>NETFX;NET461;NET45;HAVE_ASYNC;HAVE_BIG_INTEGER;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
|
|
<Reference Include="CustomMarshalers" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Design" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Runtime.Caching" />
|
|
<Reference Include="System.Security" />
|
|
<Reference Include="System.Speech" />
|
|
<Reference Include="System.Transactions" />
|
|
<Reference Include="System.Web" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="WindowsBase" />
|
|
</ItemGroup>
|
|
|
|
<!-- .NET Core 3.1 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Core 3.1</AssemblyTitle>
|
|
<DefineConstants>NETCORE;HAVE_ASYNC;HAVE_BIG_INTEGER;$(DefineConstants);$(AdditionalConstants)</DefineConstants>
|
|
<!-- 引用 Microsoft.WindowsDesktop.App 时,不需要 UseWPF 和 UseWindowsForms。-->
|
|
<!--<UseWPF>true</UseWPF>-->
|
|
<!--<UseWindowsForms>true</UseWindowsForms>-->
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
|
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
|
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
|
|
</ItemGroup>
|
|
|
|
<!--<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />-->
|
|
|
|
</Project>
|
|
|