forked from NewLifeX/X
-
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.
ECDsa算法独立到Security库,避免NewLife.Core依赖Cng导致下游项目引用一大堆包
- Loading branch information
Showing
6 changed files
with
191 additions
and
38 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
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
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net40;net45;netstandard2.0</TargetFrameworks> | ||
<AssemblyTitle>加密库</AssemblyTitle> | ||
<Description>扩展加密算法</Description> | ||
<Company>新生命开发团队</Company> | ||
<Copyright>©2002-2020 NewLife</Copyright> | ||
<Version>8.10.2020.1029-rc1</Version> | ||
<FileVersion>8.10.2020.1029</FileVersion> | ||
<AssemblyVersion>8.10.*</AssemblyVersion> | ||
<Deterministic>false</Deterministic> | ||
<OutputPath>..\..\Bin</OutputPath> | ||
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<LangVersion>latest</LangVersion> | ||
<!--<Nullable>enable</Nullable>--> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<PackageId>$(AssemblyName)</PackageId> | ||
<Authors>$(Company)</Authors> | ||
<ProjectUrl>https://github.com/NewLifeX</ProjectUrl> | ||
<PackageIcon>leaf.png</PackageIcon> | ||
<RepositoryUrl>https://github.com/NewLifeX/X</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>新生命团队;X组件;NewLife;$(AssemblyName)</PackageTags> | ||
<PackageReleaseNotes></PackageReleaseNotes> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<IncludeSource>true</IncludeSource> | ||
<!--<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>--> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)'=='net40'"> | ||
<DefineConstants>$(DefineConstants);__WIN__;NET4</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net45'"> | ||
<DefineConstants>$(DefineConstants);__WIN__;NET45</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='net46'"> | ||
<DefineConstants>$(DefineConstants);__WIN__;NET46</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'"> | ||
<DefineConstants>$(DefineConstants);__CORE__;STD20</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.1'"> | ||
<DefineConstants>$(DefineConstants);__CORE__;STD21</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> | ||
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="..\NewLife.Core\Security\ECDsaHelper.cs" Link="ECDsaHelper.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<PackageReference Include="System.Security.Cryptography.Cng"> | ||
<Version>4.7.0</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\NewLife.Core\NewLife.Core.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="..\Doc\leaf.png" Link="leaf.png" PackagePath="\" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
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
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