-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Describe the bug
A clear and concise description of what the bug is.
I am getting this error:
error MSB4216: Could not run the "ReplaceTokenInFileTask" 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.
To Reproduce
https://github.com/open-feature/dotnet-sdk-contrib/actions/runs/19278703597/job/55124682365
Exceptions (if any)
Further technical details
details of dotnet --info
It seems it is not isolated per comments here: dotnet/core#10155 (comment), so I would assume it is not related to reqnroll.tools.msbuild.generation.
It is only happening in the Windows runners. Ubuntu and MacOS work fine.
Previous runs:
9.0.307 -> https://github.com/open-feature/dotnet-sdk/actions/runs/19275629307
10.0.100 -> https://github.com/open-feature/dotnet-sdk/actions/runs/19275919896
9.0.111 -> https://github.com/open-feature/dotnet-sdk/actions/runs/19276071981