Skip to content

Commit

Permalink
Support for net45
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jul 16, 2017
1 parent 6f96d66 commit d22d99c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp1.0</TargetFrameworks>
<TargetFrameworks>net45;net461;netcoreapp1.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions src/Xunit.SkippableFact/Xunit.SkippableFact.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard1.1;net452</TargetFrameworks>
<TargetFrameworks>netstandard1.1;net45;net452</TargetFrameworks>
<RootNamespace>Xunit</RootNamespace>
<CodeAnalysisRuleSet>Xunit.SkippableFact.ruleset</CodeAnalysisRuleSet>
<SignAssembly>true</SignAssembly>
Expand All @@ -17,7 +17,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Validation" Version="2.4.15" PrivateAssets="compile;contentfiles;analyzers;build" />
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" />
<PackageReference Include="xunit.extensibility.execution" Version="2.1.0" Condition=" '$(TargetFramework)' == 'net45' " />
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" Condition=" '$(TargetFramework)' != 'net45' " />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
<Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">
Expand Down

0 comments on commit d22d99c

Please sign in to comment.