forked from aliyun/darabonba-crypto-util
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update BouncyCastle to new official package for netstandard platform,…
… ref: jstedfast/MimeKit#865
- Loading branch information
VicentCheng
committed
Sep 3, 2024
1 parent
e2b8332
commit d081504
Showing
1 changed file
with
47 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,50 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks> | ||
<RootNamespace>AlibabaCloud.DarabonbaSignatureUtil</RootNamespace> | ||
<OutputType>Library</OutputType> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<AssemblyName>AlibabaCloud.DarabonbaSignatureUtil</AssemblyName> | ||
<Version>0.0.4</Version> | ||
<LangVersion>5</LangVersion> | ||
<Authors>Alibaba Cloud</Authors> | ||
<Description>Darabonba Signature Util Library for Alibaba Cloud .NET SDK</Description> | ||
<PackageTags>Darabonba Signature Util Library</PackageTags> | ||
<Copyright>©2009-present Alibaba Cloud</Copyright> | ||
<PackageProjectUrl>https://github.com/aliyun/darabonba-crypto-util</PackageProjectUrl> | ||
<PackageIconUrl>https://www.alibabacloud.com/favicon.ico</PackageIconUrl> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'"> | ||
<DefineConstants>NETSTANDARD2_0</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<DefineConstants>NET45</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<Reference Include="mscorlib"/> | ||
<Reference Include="System"/> | ||
<Reference Include="System.Core"/> | ||
<Reference Include="Microsoft.CSharp"/> | ||
<Reference Include="System.Data"/> | ||
<Reference Include="System.Web"/> | ||
<Reference Include="System.Drawing"/> | ||
<Reference Include="System.Security"/> | ||
<Reference Include="System.Xml"/> | ||
<Reference Include="System.Configuration"/> | ||
<Reference Include="System.Net.Http"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" /> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks> | ||
<RootNamespace>AlibabaCloud.DarabonbaSignatureUtil</RootNamespace> | ||
<OutputType>Library</OutputType> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<AssemblyName>AlibabaCloud.DarabonbaSignatureUtil</AssemblyName> | ||
<Version>0.0.4</Version> | ||
<LangVersion>5</LangVersion> | ||
<Authors>Alibaba Cloud</Authors> | ||
<Description>Darabonba Signature Util Library for Alibaba Cloud .NET SDK</Description> | ||
<PackageTags>Darabonba Signature Util Library</PackageTags> | ||
<Copyright>©2009-present Alibaba Cloud</Copyright> | ||
<PackageProjectUrl>https://github.com/aliyun/darabonba-crypto-util</PackageProjectUrl> | ||
<PackageIconUrl>https://www.alibabacloud.com/favicon.ico</PackageIconUrl> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'"> | ||
<DefineConstants>NETSTANDARD2_0</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<DefineConstants>NET45</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<Reference Include="mscorlib"/> | ||
<Reference Include="System"/> | ||
<Reference Include="System.Core"/> | ||
<Reference Include="Microsoft.CSharp"/> | ||
<Reference Include="System.Data"/> | ||
<Reference Include="System.Web"/> | ||
<Reference Include="System.Drawing"/> | ||
<Reference Include="System.Security"/> | ||
<Reference Include="System.Xml"/> | ||
<Reference Include="System.Configuration"/> | ||
<Reference Include="System.Net.Http"/> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'"> | ||
<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> | ||
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |