Skip to content

Commit

Permalink
Update BouncyCastle to new official package for netstandard platform,…
Browse files Browse the repository at this point in the history
  • Loading branch information
VicentCheng committed Sep 3, 2024
1 parent e2b8332 commit d081504
Showing 1 changed file with 47 additions and 42 deletions.
89 changes: 47 additions & 42 deletions signature/csharp/core/signatureUtil.csproj
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>

0 comments on commit d081504

Please sign in to comment.