Skip to content

Commit 5a59ac9

Browse files
committed
Workaround Build Regression in .NET 10 RC2
dotnet/sdk#51265
1 parent 06ea59e commit 5a59ac9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@
5454
<PackageReference Include="Meziantou.Analyzer" PrivateAssets="all" />
5555
<PackageReference Include="SonarAnalyzer.CSharp" PrivateAssets="all" />
5656
</ItemGroup>
57+
58+
<!-- Workaround https://github.com/dotnet/sdk/issues/51265 -->
59+
<PropertyGroup>
60+
<RestoreEnablePackagePruning>false</RestoreEnablePackagePruning>
61+
</PropertyGroup>
5762
</Project>

0 commit comments

Comments
 (0)