Skip to content

Commit d22d99c

Browse files
committed
Support for net45
1 parent 6f96d66 commit d22d99c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Xunit.SkippableFact.Tests/Xunit.SkippableFact.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net461;netcoreapp1.0</TargetFrameworks>
3+
<TargetFrameworks>net45;net461;netcoreapp1.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>

src/Xunit.SkippableFact/Xunit.SkippableFact.csproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard1.1;net452</TargetFrameworks>
3+
<TargetFrameworks>netstandard1.1;net45;net452</TargetFrameworks>
44
<RootNamespace>Xunit</RootNamespace>
55
<CodeAnalysisRuleSet>Xunit.SkippableFact.ruleset</CodeAnalysisRuleSet>
66
<SignAssembly>true</SignAssembly>
@@ -17,7 +17,8 @@
1717
</PropertyGroup>
1818
<ItemGroup>
1919
<PackageReference Include="Validation" Version="2.4.15" PrivateAssets="compile;contentfiles;analyzers;build" />
20-
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" />
20+
<PackageReference Include="xunit.extensibility.execution" Version="2.1.0" Condition=" '$(TargetFramework)' == 'net45' " />
21+
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" Condition=" '$(TargetFramework)' != 'net45' " />
2122
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0" PrivateAssets="all" />
2223
</ItemGroup>
2324
<Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">

0 commit comments

Comments
 (0)