Dotnet CLI does not work properly in VS 22 Terminal?
See original GitHub issueI made a test (blank) app targeting net6.0.
- It works great with dotnet CLI from cmd or powershell.
- It also works great when I run it from VS via GUI (F5 / Ctrl + F5).
However, if I open VS’ terminal, I get this:
I have 6.0.100-preview.6.21355.2
installed. What could be the reason?
(sorry if it’s a wrong repo for this report. If so, tell me where to send it instead)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Visual Studio Code error - 'dotnet' is not recognized as an ...
The final fix for me was to click the "Kill Terminal" button and then open a new one. Apparently the terminal session can...
Read more >Visual Studio Developer Command Prompt ...
Start from the Tools > Command Line menu. Select the Visual Studio Developer Command Prompt, Developer PowerShell, or terminal to use .NET ......
Read more >Cannot debug net6.0-macos Apps - Developer Community
Another possible workaround is to uninstall dotnet from the Mac and then only reinstalling . Net 6 to prevent conflicts. This can be...
Read more >How YOU can get started with .NET Core and C# in VS Code
This article covers your first steps using .NET Core, the cross-platform version of .NET. We will be creating a solution, a library, a...
Read more >Cannot start vscode in WSL · Issue #6294
Shut down and restarted WSL. Seems to be continually happening. code command does however work inside a terminal with VScode.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://developercommunity.visualstudio.com/t/NET-dotnet-tools-dont-work-from-the-/1456366 https://developercommunity.visualstudio.com/t/running-a-net-6-preview-7-aspnet-core-app-in-the-v/1502210?from=email
This was fixed in preview4.