Temporarily disable building wslsettings.exe by default (#13008)

Blue committed Jul 10, 2025 at 11:05 UTC ae323a4e9b0c1082a1bf1e050df4f88affa9f931
2 files changed +2 -2
.pipelines/build-stage.yml
+1 -1
@@ -166,7 +166,7 @@ stages:
166 displayName: "CMake ${{ platform }}"
167 inputs:
168 workingDirectory: "."
169 - cmakeArgs: . --fresh -A ${{ platform }} -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DPACKAGE_VERSION=$(version.WSL_PACKAGE_VERSION) -DWSL_NUGET_PACKAGE_VERSION=$(version.WSL_NUGET_PACKAGE_VERSION) -DSKIP_PACKAGE_SIGNING=${{ parameters.isRelease }} -DOFFICIAL_BUILD=${{ parameters.isRelease }} -DPIPELINE_BUILD_ID=$(Build.BuildId) -DVSO_ORG=${{ parameters.vsoOrg }} -DVSO_PROJECT=${{ parameters.vsoProject }}
169 + cmakeArgs: . --fresh -A ${{ platform }} -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DPACKAGE_VERSION=$(version.WSL_PACKAGE_VERSION) -DWSL_NUGET_PACKAGE_VERSION=$(version.WSL_NUGET_PACKAGE_VERSION) -DSKIP_PACKAGE_SIGNING=${{ parameters.isRelease }} -DOFFICIAL_BUILD=${{ parameters.isRelease }} -DPIPELINE_BUILD_ID=$(Build.BuildId) -DVSO_ORG=${{ parameters.vsoOrg }} -DVSO_PROJECT=${{ parameters.vsoProject }} -DWSL_BUILD_WSL_SETTINGS=true
170
171 # This additional Restore NuGet package task is added as a workaround for WSL Settings to have its' packages restored properly.
172 # Without this, building wsl settings may encounter the following error:
CMakeLists.txt
+1 -1
@@ -111,7 +111,7 @@ endif()
111 # Optional target configuration
112
113 if (NOT DEFINED WSL_BUILD_WSL_SETTINGS)
114 - set(WSL_BUILD_WSL_SETTINGS true)
114 + set(WSL_BUILD_WSL_SETTINGS false)
115 endif ()
116
117 # Only generate the build configuration that CMake is configured for