You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like in issue #4605 I have installed the SDK and tried making a new hello world project, but when I type "dotnet new console -o myApp" VSCode gives me the following:
PS D:\Programme\VSCodeNetCoreTest> dotnet new console -o myApp
Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
* You intended to execute a .NET program:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
I have added C:\Program Files\dotnet to PATH but it still wont work
What am I doing wrong ?
The text was updated successfully, but these errors were encountered:
TL:DR There were two dotnet.exe files in Program Files and Program Files(x86), that I had to delete both and reinstall via Visual Studio 2019 (porably not the only method).
Now there is only one dotnet.exe in Program Files and it finally works.
OS: Windows
Problem encountered: https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Like in issue #4605 I have installed the SDK and tried making a new hello world project, but when I type "dotnet new console -o myApp" VSCode gives me the following:
I have added C:\Program Files\dotnet to PATH but it still wont work
What am I doing wrong ?
The text was updated successfully, but these errors were encountered: