1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+ <Import Project =" ..\..\build\common.props" />
43 <PropertyGroup >
5- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7- <ProjectGuid >{778633B1-7023-4975-8028-EB8645CD9BA9}</ProjectGuid >
8- <OutputType >Library</OutputType >
9- <AppDesignerFolder >Properties</AppDesignerFolder >
10- <RootNamespace >GodSharp</RootNamespace >
114 <AssemblyName >GodSharp.Encryption</AssemblyName >
12- <TargetFrameworkVersion >v3.5</TargetFrameworkVersion >
13- <FileAlignment >512</FileAlignment >
14- <TargetFrameworkProfile />
5+ <Title >GodSharp.Encryption</Title >
6+ <PackageId >GodSharp.Encryption</PackageId >
7+ <PackageTags >GodSharp.Encryption,Encryption,GodSharp</PackageTags >
8+ <Description >Common encryption method for .NET</Description >
159 </PropertyGroup >
16- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17- <DebugSymbols >true</DebugSymbols >
18- <DebugType >full</DebugType >
19- <Optimize >false</Optimize >
20- <OutputPath >bin\Debug\</OutputPath >
21- <DefineConstants >DEBUG;TRACE</DefineConstants >
22- <ErrorReport >prompt</ErrorReport >
23- <WarningLevel >4</WarningLevel >
10+ <PropertyGroup Condition =" '$(TargetFramework)'=='net35'" >
11+ <DefineConstants >NFX;NET35;$(AdditionalConstants)</DefineConstants >
2412 </PropertyGroup >
25- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
26- <DebugType >pdbonly</DebugType >
27- <Optimize >true</Optimize >
28- <OutputPath >bin\Release\</OutputPath >
29- <DefineConstants >TRACE</DefineConstants >
30- <ErrorReport >prompt</ErrorReport >
31- <WarningLevel >4</WarningLevel >
13+ <PropertyGroup Condition =" '$(TargetFramework)'=='net40'" >
14+ <DefineConstants >NFX;NET40;$(AdditionalConstants)</DefineConstants >
3215 </PropertyGroup >
33- <ItemGroup >
16+ <PropertyGroup Condition =" '$(TargetFramework)'=='net45'" >
17+ <DefineConstants >NFX;NET45;$(AdditionalConstants)</DefineConstants >
18+ </PropertyGroup >
19+ <PropertyGroup Condition =" '$(TargetFramework)'=='net46'" >
20+ <DefineConstants >NFX;NET46;$(AdditionalConstants)</DefineConstants >
21+ </PropertyGroup >
22+ <PropertyGroup Condition =" '$(TargetFramework)'=='net47'" >
23+ <DefineConstants >NFX;NET47;$(AdditionalConstants)</DefineConstants >
24+ </PropertyGroup >
25+ <PropertyGroup Condition =" '$(TargetFramework)'=='netstandard2.0'" >
26+ <DefineConstants >CFX;NETSTANDARD2_0;$(AdditionalConstants)</DefineConstants >
27+ </PropertyGroup >
28+ <ItemGroup Condition =" '$(TargetFramework)' == 'net35'" >
3429 <Reference Include =" System" />
3530 <Reference Include =" System.Core" />
3631 </ItemGroup >
37- <ItemGroup >
38- <Compile Include =" ..\GodSharp.Shared\Encryption\Asymmetric\RSA.cs" >
39- <Link >Asymmetric\RSA.cs</Link >
40- </Compile >
41- <Compile Include =" ..\GodSharp.Shared\Encryption\Base64.cs" >
42- <Link >Base64.cs</Link >
43- </Compile >
44- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMAC.cs" >
45- <Link >Hash\HMAC\HMAC.cs</Link >
46- </Compile >
47- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMACMD5.cs" >
48- <Link >Hash\HMAC\HMACMD5.cs</Link >
49- </Compile >
50- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMACRIPEMD160.cs" >
51- <Link >Hash\HMAC\HMACRIPEMD160.cs</Link >
52- </Compile >
53- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMACSHA1.cs" >
54- <Link >Hash\HMAC\HMACSHA1.cs</Link >
55- </Compile >
56- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMACSHA256.cs" >
57- <Link >Hash\HMAC\HMACSHA256.cs</Link >
58- </Compile >
59- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMACSHA384.cs" >
60- <Link >Hash\HMAC\HMACSHA384.cs</Link >
61- </Compile >
62- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\HMAC\HMACSHA512.cs" >
63- <Link >Hash\HMAC\HMACSHA512.cs</Link >
64- </Compile >
65- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\MD5.cs" >
66- <Link >Hash\MD5.cs</Link >
67- </Compile >
68- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\SHA\SHA.cs" >
69- <Link >Hash\SHA\SHA.cs</Link >
70- </Compile >
71- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\SHA\SHA1.cs" >
72- <Link >Hash\SHA\SHA1.cs</Link >
73- </Compile >
74- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\SHA\SHA256.cs" >
75- <Link >Hash\SHA\SHA256.cs</Link >
76- </Compile >
77- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\SHA\SHA384.cs" >
78- <Link >Hash\SHA\SHA384.cs</Link >
79- </Compile >
80- <Compile Include =" ..\GodSharp.Shared\Encryption\Hash\SHA\SHA512.cs" >
81- <Link >Hash\SHA\SHA512.cs</Link >
82- </Compile >
83- <Compile Include =" ..\GodSharp.Shared\Encryption\Symmetric\AES.cs" >
84- <Link >Symmetric\AES.cs</Link >
85- </Compile >
86- <Compile Include =" ..\GodSharp.Shared\Encryption\Symmetric\DES.cs" >
87- <Link >Symmetric\DES.cs</Link >
88- </Compile >
89- <Compile Include =" ..\GodSharp.Shared\Encryption\Symmetric\TripleDES.cs" >
90- <Link >Symmetric\TripleDES.cs</Link >
91- </Compile >
92- <Compile Include =" ..\GodSharp.Shared\Encryption\Symmetric\XES.cs" >
93- <Link >Symmetric\XES.cs</Link >
94- </Compile >
95- <Compile Include =" ..\GodSharp.Shared\Encryption\Util\Util.cs" >
96- <Link >Util\Util.cs</Link >
97- </Compile >
98- <Compile Include =" Properties\AssemblyInfo.cs" />
32+ <ItemGroup Condition =" '$(TargetFramework)' == 'net40'" >
33+ <Reference Include =" Microsoft.CSharp" />
34+ <Reference Include =" System" />
35+ <Reference Include =" System.Core" />
36+ </ItemGroup >
37+ <ItemGroup Condition =" '$(TargetFramework)' == 'net45'" >
38+ <Reference Include =" Microsoft.CSharp" />
39+ <Reference Include =" System" />
40+ <Reference Include =" System.Core" />
41+ </ItemGroup >
42+ <ItemGroup Condition =" '$(TargetFramework)' == 'net46'" >
43+ <Reference Include =" Microsoft.CSharp" />
44+ <Reference Include =" System" />
45+ <Reference Include =" System.Core" />
46+ </ItemGroup >
47+ <ItemGroup Condition =" '$(TargetFramework)' == 'net47'" >
48+ <Reference Include =" Microsoft.CSharp" />
49+ <Reference Include =" System" />
50+ <Reference Include =" System.Core" />
9951 </ItemGroup >
100- <ItemGroup />
101- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
10252</Project >
0 commit comments