This question is locked. New answers and comments are not allowed.
Starting today, I get a build error when building a project that includes Telerik MAUI controls. This happens on an Azure hosted build agent, also locally when running the dotnet build command. The same build worked before, i.e. there are no changes on my part.
the following error messages occur:
error MSB4216: Could not run the "TelerikThemingTask" task because MSBuild could not create or connect to a task host with runtime "NET" and architecture "x64". Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\9.0.307\MSBuild.dll" exists and can be run.
error MSB4216: Could not run the "ResolveTelerikProducts" task because MSBuild could not create or connect to a task host with runtime "NET" and architecture "x64". Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\9.0.307\MSBuild.dll" exists and can be run.
Hi,
The issue seems to be caused by the new .NET SDK version 9.0.307 that was released on 11.11.2025. The main issue seems to be tracked in SDK-9.0.307: Could not run the "ReplaceTokenInFileTask" task on Windows runners #12751
Having a global.json with
{ "sdk": { "version": "9.0.306", "rollForward": "disable" } }