Pipeline issue related to Telerik.Licensing after upgrading to latest .Net 9 SDK

1 Answer 27 Views
General Discussions
Ricardo
Top achievements
Rank 1
Ricardo asked on 11 Nov 2025, 07:51 PM

My pipeline is currently stuck due to this, I have a simple "dotnet install" in my pipeline that used to work and since the latest .NET SDK release (SDK 9.0.307) it started to fail with the following message:

  • C:\Users\?????\.nuget\packages\telerik.licensing\1.4.10\build\Telerik.Licensing.targets(8,3): 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.

I attempted to upgrade the Telerik.Licensing package manually to latest version but it didn't fix the issue.

Kevin Robertson
Top achievements
Rank 1
commented on 12 Nov 2025, 01:06 AM

Same problem.
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".

However, I don't get the error if I publish via VS2022.
But if I execute the following command, I get the above error.

 dotnet publish ..\UiWebBlazor\Web\Web.csproj --output Publish\UiWeb -c Debug -r linux-arm64 --self-contained false

Aaron
Top achievements
Rank 1
Veteran
commented on 12 Nov 2025, 01:15 AM

Pinning to 9.0.306 (instead of 9.0.307 that was just released today) seems to have at least worked around the issue for now.

Add global.json with the following:

{
  "sdk": {
    "version": "9.0.306"
  }
}
Tony
Top achievements
Rank 1
commented on 12 Nov 2025, 03:11 AM

I have the same issue that started today. 

1 Answer, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 1
Veteran
answered on 12 Nov 2025, 12:31 AM | edited on 12 Nov 2025, 01:11 AM

Same problem here, and I'm guessing it's the same as whatever is going on here: Error reporting while Creating Build throught GIT-Hub CI Process in Kendo UI for jQuery | Telerik Forums

Edit: sorry, I didn't mean to post this as an "answer", I just wanted to comment.

Tags
General Discussions
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Veteran
Share this question
or