Nsspi targets now Net4.0 and .NetStandard2.0

Nsspi now multi targets .Net 4.0 and .NetStandard 2.0.
Dependencies are included based on framework.
This commit is contained in:
Stefan Ossendorf
2019-05-31 09:12:53 +02:00
parent 923d70195d
commit 3ccdcc701e

View File

@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework> <TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
<RootNamespace>NSspi</RootNamespace> <RootNamespace>NSspi</RootNamespace>
<AssemblyName>NSspi</AssemblyName> <AssemblyName>NSspi</AssemblyName>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
@@ -10,7 +10,7 @@
<Version>0.2.1.0</Version> <Version>0.2.1.0</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Security.Principal.Windows" Version="4.5.1" /> <PackageReference Include="System.Security.Principal.Windows" Version="4.5.1" />
</ItemGroup> </ItemGroup>
</Project> </Project>