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.
121 lines
4.8 KiB
121 lines
4.8 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />-->
|
|
|
|
<!-- Info: Package -->
|
|
<PropertyGroup>
|
|
<AssemblyName>Apewer</AssemblyName>
|
|
<PackageId>Apewer</PackageId>
|
|
<Title>Apewer</Title>
|
|
<Version>6.1.0</Version>
|
|
</PropertyGroup>
|
|
|
|
<!-- Info: Copyright -->
|
|
<PropertyGroup>
|
|
<Authors>Elivo</Authors>
|
|
<Company>Apewer Lab</Company>
|
|
<Copyright>Copyright Apewer Lab. All rights reserved.</Copyright>
|
|
<Description></Description>
|
|
<RootNamespace>Apewer</RootNamespace>
|
|
<TargetFrameworks>netstandard2.1;net20;net40;net461;netcoreapp3.1</TargetFrameworks>
|
|
<Product>Apewer Libraries</Product>
|
|
</PropertyGroup>
|
|
|
|
<!-- Info: Build -->
|
|
<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>
|
|
</PropertyGroup>
|
|
|
|
<!-- Info: NuGet -->
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<IsPackable>true</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<!-- .NET Standard 2.1 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.1'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Standard 2.1</AssemblyTitle>
|
|
<DefineConstants>NETSTD;HAVE_ASYNC;HAVE_BIG_INTEGER;$(AdditionalConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<!-- .NET Framework 2.0 -->
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='net20'">
|
|
<AssemblyTitle>$(AssemblyName) - .NET Framework 2.0</AssemblyTitle>
|
|
<DefineConstants>NETFX;NET20;$(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;$(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;$(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;$(AdditionalConstants)</DefineConstants>
|
|
<!--<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>
|
|
|