Skip to content

Commit

Permalink
simplify Polyfill refs (#3040)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed May 30, 2024
1 parent 6ebb3d6 commit 43252ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions src/Analyzers/MSTest.Analyzers/MSTest.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" />
<PackageReference Include="Polyfill">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Polyfill" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ This package provides the core platform and the .NET implementation of the proto
<!-- Version templating -->
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Templating" Version="$(MicrosoftDotNetBuildTasksTemplatingPackageVersion)" AllowExplicitReference="true" PrivateAssets="All" IsImplicitlyDefined="true" />
<PackageReference Include="Polyfill">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Polyfill" PrivateAssets="all" />
</ItemGroup>
<Target Name="GeneratePlatformVersionSourceFile" AfterTargets="PrepareForBuild">
<PropertyGroup>
Expand Down
5 changes: 1 addition & 4 deletions src/TestFramework/TestFramework/TestFramework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Polyfill">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Polyfill" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 43252ff

Please sign in to comment.