Skip to content

Commit

Permalink
Add net45 support
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jul 16, 2017
2 parents 30a8057 + 1182c34 commit fa9f00a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<Project>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<OutputPath>$(MSBuildThisFileDirectory)..\bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp1.0</TargetFrameworks>
<TargetFrameworks>net45;net461;netcoreapp1.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
<ItemGroup>
<Content Include="xunit.runner.json">
Expand All @@ -13,7 +15,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Validation" Version="2.4.15" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit" Version="2.1.0" Condition=" '$(TargetFramework)' == 'net45' " />
<PackageReference Include="xunit" Version="2.2.0" Condition=" '$(TargetFramework)' != 'net45' " />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
</ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions src/Xunit.Combinatorial/Xunit.Combinatorial.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.1</TargetFramework>
<TargetFrameworks>net45;net452;netstandard1.1</TargetFrameworks>
<RootNamespace>Xunit</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<CodeAnalysisRuleSet>Xunit.Combinatorial.ruleset</CodeAnalysisRuleSet>
Expand All @@ -23,7 +23,8 @@
</Compile>
</ItemGroup>
<ItemGroup>
<PackageReference Include="xunit.extensibility.core" Version="2.2.0" />
<PackageReference Include="xunit.extensibility.core" Version="2.2.0" Condition=" '$(TargetFramework)' != 'net45' " />
<PackageReference Include="xunit.extensibility.core" Version="2.1.0" Condition=" '$(TargetFramework)' == 'net45' " />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit fa9f00a

Please sign in to comment.