我已经将Visual studio 2019更新为16.4.0版。此版本包括.NET Core SDK 3.1.100。
在那之后,我试着用Target Framework 2.2运行我在一个项目上的一些单元测试,但是它不能这样做。它给出了以下错误:
Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Testhost process exited with error: It was not possible to find any compatible framework version
The fr
我正在运行Arch,我希望通过.NET 安装dotnet-install 6.0SDK。
我更改了脚本的权限,使其成为我随后运行的可执行文件:
./dotnet-install.sh --channel LTS
这是输出:
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and
我已经安装了一系列dotnet模板,用于
dotnet new
通过使用cli选项,如
dotnet new -i Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0
或
dotnet new -i Microsoft.DotNet.Web.Spa.ProjectTemplates::*
如前所述,
如何列出已安装的模板的版本?输出.
dotnet new
不显示模板的当前版本
╔═════════════════════════════════════════════════════════════════════════════════════
我正在我的Windows (2012年R2)上运行一个dotnet核心api (2.1.0),方法是运行以下命令:dotnet Api.dll,但是我一直收到以下消息。
The specified framework 'Microsoft.AspNetCore.App', version '2.1.0' was not found.
- Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\
- I
我正尝试在我的windows server 2016实例上从VS运行默认的普通ASP.NET核心网站。但是当我运行它时,我得到了一个HTTP 502.3错误 ? 我从web配置中启用了日志记录,我得到的日志记录消息是 Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 我已经安装了windows主机包 https://dotnet.microsoft.com/do
使用最新版本的Visual,我无法在“测试资源管理器”中运行任何测试。Tests输出窗口中的错误消息是:
Testhost process exited with error: It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
- The following frameworks were found:
3.1.0 at [C:\P
我正在尝试安装.NET SDK与VS代码一起使用。
当我键入dotnet new console时,将返回以下内容:
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a
我正在尝试在MacOS v10.14.5上的终端中使用asp.net核心创建一个使用yeoman的web应用程序。 dotnet恢复dotnet新恢复dotnet恢复新 ┌────────────────────────────────────────────────────────────┐
│ yo update check failed │
│ Try running with sudo or get access │
│ to the local
我已经下载了dotnet二进制SDK包(DotNetSDK2.1.400-linux-x64.tar.gz),并希望将其安装在我使用LibreSSL的void系统上。在运行dotnet help之后,我得到了响应No usable version of the libssl was found,并中止了执行。
是否可以让SDK与LibreSSL一起运行,或者需要哪个版本的libssl?我不知道什么ssl库dotnet是链接的。