未能创建 CoreCLR,HRESULT:0x80070057 [英] Failed to create CoreCLR, HRESULT: 0x80070057
问题描述
我被困在这里有一段时间了.
I have been stuck here for quite a while.
- 我知道这是非常基本的,但请帮助我解决这个问题.
- 我已经熟悉 Visual Studio 有一段时间了.所以决定尝试一下 VS Code.
我想用 C# 编译并运行一个简单的Hello World"程序.[ref.Brackeys(Youtube)]
I wanted to compile and run a simple 'Hello World' program in C#.[ref. Brackeys(Youtube)]
我已按照所有步骤操作,但是当我输入 cmd 时dotnet run"
I have followed all the steps, but when I type in the cmd "dotnet run"
Failed to create CoreCLR, HRESULT: 0x80070057
这就是发生的事情.
是否缺少任何步骤?或者一些安装错误,或者我遗漏了一些步骤?
Are there any steps missing? Or some installation error, or I am missing some steps?
我正在运行这个:
- Windows 10 [x64]
- dotnet-sdk-3.1.402-win-x64
- VSCodeUserSetup-x64-1.49.2
[
推荐答案
我想您已经发现了 .NET SDK 中的一个错误.它似乎不喜欢项目的文件夹名称 ;)
.
I think you've found a bug in the .NET SDK. It doesn't appear to like the folder name for the project being ;)
.
如果我在 #Code
中有它,它运行良好.如果我把它放在 #Code;)
那么它会失败并出现同样的错误.
If I have it in #Code
it runs fine. If I put it in #Code;)
then it fails with the same error.
我在这里打开了一个问题:https://github.com/dotnet/sdk/issues/13954
I've opened an issue here: https://github.com/dotnet/sdk/issues/13954
这篇关于未能创建 CoreCLR,HRESULT:0x80070057的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!