Skip to content

Commit c9effdc

Browse files
OneBlueCopilot
andauthored
Disable shared compilation when building wslsettings (#40289)
* Disable shared compilation when building wslsettings * Update src/windows/wslsettings/directory.build.targets.in Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent de1d841 commit c9effdc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/windows/wslsettings/directory.build.targets.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<Project>
2+
<PropertyGroup>
3+
<!-- Disable the Roslyn shared compiler server (VBCSCompiler) to avoid intermittent CS0016 errors -->
4+
<UseSharedCompilation>false</UseSharedCompilation>
5+
</PropertyGroup>
26
<ItemGroup>
37
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="${WINDOWS_SDK_DOTNET_VERSION}" TargetingPackVersion="${WINDOWS_SDK_DOTNET_VERSION}" />
48
<!-- The below can be removed when the OneBranch pipeline container image is updated to use a newer version of the dotnet SDK -->

0 commit comments

Comments
 (0)