【发布时间】:2022-07-22 19:11:25
【问题描述】:
我正在使用 Mac(x64,Intel)并尝试测试 Dotnet 项目。
我目前安装了 6.0.104 dotnet SDK,当我尝试测试该项目时,我遇到以下错误:
Testhost process exited with error: It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '3.1.0' (x64) was not found.
- The following frameworks were found:
6.0.4 at [/usr/local/Cellar/dotnet/6.0.104_1/libexec/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=osx.12-x64
. Please check the diagnostic logs for more information.
Test Run Aborted.
我已经从这个page 安装了 3.1.x SDK,但不知何故它没有得到反映。有没有办法绕过这个错误并更改 SDK 版本?
【问题讨论】:
标签: c# .net asp.net-core .net-core