Failed to create CoreCLR, HRESULT: 0x80070057

2

Hey guys I have been stuck here for quite a while ....

  • I know this is pretty basic, but plss help me out on this one.
  • I am familiar with Visual Studio for quite some time. So decided to give VS Code a shot ..

I wanted to compile and run a simple 'Hello World' program in C#.[ref. Brackeys(Youtube)] I have followed all the steps...but when I type in the cmd "dotnet run"...

                           Failed to create CoreCLR, HRESULT: 0x80070057

This is what happens ... Are there any steps missing... or some installation erroe...or I am missing some steps..

I am running this on :

  • Windows 10 [x64]
  • dotnet-sdk-3.1.402-win-x64
  • VSCodeUserSetup-x64-1.49.2

[Screenshot of the window1

c#
.net
.net-core
visual-studio-code
asked on Stack Overflow Oct 2, 2020 by JGDSH • edited Oct 2, 2020 by Gama11

1 Answer

2

I think you've found a bug in the .NET SDK. It doesn't appear to like the folder name for the project being ;).

If I have it in #Code it runs fine. If I put it in #Code\;) then it fails with the same error.

enter image description here

enter image description here

I've opened an issue here: https://github.com/dotnet/sdk/issues/13954

answered on Stack Overflow Oct 2, 2020 by Martin Costello • edited Oct 2, 2020 by Martin Costello

User contributions licensed under CC BY-SA 3.0