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"

1 Answer 48 Views
Licensing
This question is locked. New answers and comments are not allowed.
Dess
Top achievements
Rank 1
Dess asked on 12 Nov 2025, 08:15 AM | edited on 12 Nov 2025, 11:42 AM

Starting today, I get a build error when building a C# project that includes the Telerik.Licensing NuGet package. This happens on an Azure hosted build agent. The same build worked yesterday, i.e. there are no changes on my part. 

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.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Nov 2025, 08:18 AM

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"
  }
}
is expected to solve the problem.

Please give it a try and let me know whether it has a positive impact on your end.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Licensing
Asked by
Dess
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or