Skip to content

Commit

Permalink
Remove explicit framework ref assembly ref (#4407)
Browse files Browse the repository at this point in the history
The SDK brings this implicitly when targeting a net4* TFM
  • Loading branch information
mmitche committed Apr 20, 2023
1 parent 21bd70d commit 21bc097
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
<TargetFramework Condition=" '$(TargetFramework)' != '' ">$(NetCurrent)</TargetFramework>
</PropertyGroup>

<!-- Allows build of .NET Framework assemblies on MacOS and Linux https://github.com/dotnet/designs/pull/33#issuecomment-489264196 -->
<ItemGroup>
<PackageReference Condition=" '$(OS)' != 'Windows_NT' " Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
</ItemGroup>

<!-- Test project settings -->
<Choose>
<When Condition="$(TestProject) == 'true'">
Expand Down

0 comments on commit 21bc097

Please sign in to comment.