skip to Main Content

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


  1. 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"

    Login or Signup to reply.
  2. Visual Studio Marketplace has a plug in to open files in VS Code from VS2022.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search