Skip to content

Commit

Permalink
Test projects cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Mar 13, 2023
1 parent 4e0c19c commit 2daa6f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 7 additions & 1 deletion eng/Test.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<Project>
<Project>
<PropertyGroup>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="3.2.0" PrivateAssets="all" />
<PackageReference Include="FluentAssertions" Version="6.10.0" />
Expand Down
8 changes: 0 additions & 8 deletions src/Polly.Core.Tests/Polly.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(TargetFrameworks);net481</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<ProjectType>Test</ProjectType>
<UseDefaultAnalyzers>true</UseDefaultAnalyzers>
<Nullable>enable</Nullable>
Expand All @@ -15,9 +12,4 @@
<ItemGroup>
<ProjectReference Include="..\Polly.Core\Polly.Core.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net461' or '$(TargetFramework)'=='net472'">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion src/Polly.Specs/Polly.Specs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(TargetFrameworks);net481</TargetFrameworks>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<Nullable>enable</Nullable>
<ProjectType>Test</ProjectType>
<Threshold>75,60,70</Threshold>
Expand Down

0 comments on commit 2daa6f6

Please sign in to comment.