How to create console application using cmd and open in VSCode?
I’m using Visual Studio 2022. I want to open my project in Vscode as well. I want to develop frontend in Vscode. How to create console application using cmd and open in VSCode?
How to create console application using cmd and open in VSCode?
I’m using Visual Studio 2022. I want to open my project in Vscode as well. I want to develop frontend in Vscode. How to create console application using cmd and open in VSCode?
2
Answers
The command is the following:
dotnet new console -o MyConsoleApp
Then open it in code:
code MyConsoleApp
Once in VSCode:
F1
and choose "Generate assets for build and debug"Visual Studio Marketplace has a plug in to open files in VS Code from VS2022.