Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Multi-target .NET Standard and .NET Framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Sharpe committed Feb 16, 2018
1 parent 32218c2 commit 144b36a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Argument/Argument.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<TargetFrameworks>netstandard1.0;net40</TargetFrameworks>
<CodeAnalysisRuleSet>../../CustomExtendedCorrectnessRules.ruleset</CodeAnalysisRuleSet>
<Features>IOperation</Features>
<LangVersion>latest</LangVersion>
Expand All @@ -18,11 +18,13 @@
<PackageLicenseUrl>https://github.com/EnableSoftware/Enable.Common.Argument/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://github.com/EnableSoftware/Enable.Common.Argument</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="2.6.0">
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
<PackageReference Include="Microsoft.NetCore.Analyzers" Version="2.6.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NetCore.Analyzers" Version="2.6.0">
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="2.6.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
Expand Down

0 comments on commit 144b36a

Please sign in to comment.