41 lines
1.9 KiB
XML
41 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<Import Project="..\..\build\common.props" />
|
|
|
|
<PropertyGroup>
|
|
<Description>ASP.NET Core logic to protect and unprotect data, similar to DPAPI.</Description>
|
|
<TargetFrameworks>net46;netstandard1.3</TargetFrameworks>
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<PackageTags>aspnetcore;dataprotection</PackageTags>
|
|
<EnableApiCheck>false</EnableApiCheck>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\shared\*.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Microsoft.AspNetCore.Cryptography.Internal\Microsoft.AspNetCore.Cryptography.Internal.csproj" />
|
|
<ProjectReference Include="..\Microsoft.AspNetCore.DataProtection.Abstractions\Microsoft.AspNetCore.DataProtection.Abstractions.csproj" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(AspNetCoreVersion)" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(AspNetCoreVersion)" />
|
|
<PackageReference Include="Microsoft.Extensions.Options" Version="$(AspNetCoreVersion)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
|
|
<Reference Include="System.Security" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
|
|
<PackageReference Include="Microsoft.Win32.Registry" Version="$(CoreFxVersion)" />
|
|
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(CoreFxVersion)" />
|
|
<PackageReference Include="System.Security.Claims" Version="$(CoreFxVersion)" />
|
|
<PackageReference Include="System.Security.Principal.Windows" Version="$(CoreFxVersion)" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|