Revert "Disable shared compilation when building wslsettings (#40289)" (#40370)
This reverts commit c9effdc56f426ea1229d9e8181ce93729158e88e.
Blue committed
May 1, 2026 at 11:21 UTC
ec7e32f6b24879e2049e44dad2af361d78015a31
1 file changed
-4
src/windows/wslsettings/directory.build.targets.in
-4
@@ -1,8 +1,4 @@
1
<Project>
2
- <PropertyGroup>
3
- <!-- Disable the Roslyn shared compiler server (VBCSCompiler) to avoid intermittent CS0016 errors -->
4
- <UseSharedCompilation>false</UseSharedCompilation>
5
- </PropertyGroup>
2
<ItemGroup>
3
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="${WINDOWS_SDK_DOTNET_VERSION}" TargetingPackVersion="${WINDOWS_SDK_DOTNET_VERSION}" />
4
<!-- The below can be removed when the OneBranch pipeline container image is updated to use a newer version of the dotnet SDK -->