Skip to content

Commit 501cd1a

Browse files
authored
Merge pull request #897 from ViktorHofer/ViktorHofer-patch-1
Avoid Microsoft.CSharp dependency on net5.0
2 parents b20e06d + c2b1575 commit 501cd1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Shouldly/Shouldly.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0;net5</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
44
<Optimize>false</Optimize>
55
<DebugSymbols>true</DebugSymbols>
66
<DebugType>embedded</DebugType>
@@ -27,12 +27,12 @@
2727
<ItemGroup>
2828
<PackageReference Include="DiffEngine" Version="11.2.0" />
2929
<PackageReference Include="EmptyFiles" Version="4.4.0" PrivateAssets="None" />
30-
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
3130
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" Condition="$(Configuration) == 'Release'" />
3231
<None Include="..\..\assets\logo_128x128.png" Pack="true" PackagePath="assets" />
3332
<None Include="buildTransitive\Shouldly.targets" Pack="true" PackagePath="buildTransitive\Shouldly.targets" />
3433
</ItemGroup>
3534
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
35+
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
3636
<PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" PrivateAssets="all" />
3737
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[5.0.0]" />
3838
</ItemGroup>

0 commit comments

Comments
 (0)