我在其他任何地方都没有发现此错误。无法弄清楚造成这种情况的原因,也无法摆脱它。
Could not run the "GetSdkToolFullPath" task because MSBuild could not create or connect to a task host with runtime "CLR4" and architecture "x64". Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "MSBuild.exe" exists and can be run.
The "GetSdkToolFullPath" task's outputs could not be retrieved from the "ActualToolFullPath" parameter. Object does not match target type.
有什么想法吗?
答案 0 :(得分:0)
您是否尝试过更新Visual Studio(工具>扩展和更新...>更新)?我遇到了这个问题,并为我更新了修复它。