Hide the content files that come from the Microsoft.CodeAnalysis.Workspaces.Common package in the web.ui project (#19239)

This commit is contained in:
Andy Butland
2025-05-06 11:42:09 +02:00
committed by GitHub
parent 95bfee7c63
commit 0d080bdbf6

View File

@@ -31,6 +31,11 @@
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />
</ItemGroup>
<ItemGroup>
<!-- Hide the content files that come from the Microsoft.CodeAnalysis.Workspaces.Common package. -->
<Content Update="$(NuGetPackageRoot)\microsoft.codeanalysis.workspaces.msbuild\**\**" Visible="false" />
</ItemGroup>
<ItemGroup>
<!-- Ensure the AppLocalIcu setting is the same as the referenced ICU package version and changes are also done to the template project! -->
<!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms -->