Skip to content

chore: bump windowsScaledPool='Windows2025-20260622-1' - #23764

Merged
jonpryor merged 1 commit into
feature/breakingchangesfrom
dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1
Jul 15, 2026
Merged

jonpryor merged 1 commit into
feature/breakingchangesfrom
dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1

Conversation

@jonpryor

Copy link
Copy Markdown
Contributor

Context: 926e421

Some of the docs builds are failing, in a similar manner as described in commit 926e421:

##[error]Build\Uno.UI.Build.csproj(0,0): Error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
  Version 11.0.100-preview.5.26302.115 of the .NET SDK requires at least version 18.6.0 of MSBuild. The current available version of MSBuild is 18.4.0.7901. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
  The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
  MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
     0>C:\a\1\s\Build\Uno.UI.Build.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
C:\a\1\s\Build\Uno.UI.Build.csproj : error :   Version 11.0.100-preview.5.26302.115 of the .NET SDK requires at least version 18.6.0 of MSBuild. The current available version of MSBuild is 18.4.0.7901. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
C:\a\1\s\Build\Uno.UI.Build.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
C:\a\1\s\Build\Uno.UI.Build.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
##[error]Build\Uno.UI.Build.csproj(0,0): Error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
     1>Project "C:\a\1\s\Build\Uno.UI.Build.csproj" on node 1 (Restore target(s)).
     1>C:\a\1\s\Build\Uno.UI.Build.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
     1>Done Building Project "C:\a\1\s\Build\Uno.UI.Build.csproj" (Restore target(s)) -- FAILED.

Update .vsts-ci-docs.yml so that
$(windowsScaledPool)='Windows2025-20260622-1', which should resolve the above error.

PR Type:

🐞 Bugfix
🏗️ Build or CI related changes

What changed? 🚀

PR Checklist ✅

@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Jul 14, 2026
@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor

Copy link
Copy Markdown
Contributor Author

Note: REVERT commit dc4c6fa before merging. dc4c6fa only exists to force a docs build.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1 branch from 8badca9 to 1dc47de Compare July 15, 2026 13:02
@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1 branch 2 times, most recently from 8d4f19a to 6fefbc2 Compare July 15, 2026 13:57
@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1 branch from 6fefbc2 to 98241b4 Compare July 15, 2026 14:12
Comment thread doc/articles/faq.md Resolved
Comment thread .vsts-ci-docs.yml Resolved
@unodevops

Copy link
Copy Markdown
Contributor

Context: 926e421

Some of the docs builds are failing, in a similar manner as described
in commit 926e421:

	##[error]Build\Uno.UI.Build.csproj(0,0): Error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
	  Version 11.0.100-preview.5.26302.115 of the .NET SDK requires at least version 18.6.0 of MSBuild. The current available version of MSBuild is 18.4.0.7901. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
	  The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
	  MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
	     0>C:\a\1\s\Build\Uno.UI.Build.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
	C:\a\1\s\Build\Uno.UI.Build.csproj : error :   Version 11.0.100-preview.5.26302.115 of the .NET SDK requires at least version 18.6.0 of MSBuild. The current available version of MSBuild is 18.4.0.7901. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.
	C:\a\1\s\Build\Uno.UI.Build.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
	C:\a\1\s\Build\Uno.UI.Build.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
	##[error]Build\Uno.UI.Build.csproj(0,0): Error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
	     1>Project "C:\a\1\s\Build\Uno.UI.Build.csproj" on node 1 (Restore target(s)).
	     1>C:\a\1\s\Build\Uno.UI.Build.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
	     1>Done Building Project "C:\a\1\s\Build\Uno.UI.Build.csproj" (Restore target(s)) -- FAILED.

Update `.vsts-ci-docs.yml` so that
`$(windowsScaledPool)`='Windows2025-20260622-1', which should resolve
the above error.

Next, bring `.vsts-ci-docs.yml` into alignment with `.vsts-ci.yml`,
specifically in terms of:

  * Provide `$(netCurrentTargetFramework)` and
    `$(netPreviousTargetFramework)`
  * Harmonize `$(GlobalUnoCheckVersion)` and `$(DotNetSdkVersion)`
    versions.
  * Update the **Install .NET Workloads** step to install all mobile
    workloads.

These changes are required in order to avoid this error:

	1:7>Project "C:\a\1\s\Build\Uno.UI.Build.csproj" on node 1 (GenerateDoc target(s)).
	  1>BuildSyncGenerator:
	      dotnet restore filters\Uno.UI-top-projects-for-sync-gen.slnf -p:Configuration=Release -p:InformationalVersion=7.0.0-dev.151.g2758297f98+2758297f9816ae0dd8c83f5b9ebd6555e1e0167f-2758297f9816ae0dd8c83f5b9ebd6555e1e0167f -p:CI_Build=true -p:_IsCIBuild=true -p:SyncGeneratorRunning=true
	        Determining projects to restore...
	 …
	  1>C:\a\1\s\.dotnet\sdk\11.0.100-preview.5.26302.115\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: android [C:\a\1\s\src\Uno.UI.Dispatching\Uno.UI.Dispatching.netcoremobile.csproj::TargetFramework=net10.0-android] [C:\a\1\s\Build\Uno.UI.Build.csproj]
@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1 branch from 98241b4 to 1e59037 Compare July 15, 2026 14:45
@jonpryor
jonpryor enabled auto-merge July 15, 2026 14:53
@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor merged commit e462863 into feature/breakingchanges Jul 15, 2026
65 checks passed
@jonpryor
jonpryor deleted the dev/jonpryor/jonp-build-docs-on-Windows2025-20260622-1 branch July 15, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure kind/documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants