Cannot open solution file in Visual Studio Code

前端 未结 4 1233
时光取名叫无心
时光取名叫无心 2021-02-03 16:42

I have installed the Visual Studio Code on Windows. When I try to open a solution file in VS Code it opens the solution file, instead of opening all projects in solution. Is the

相关标签:
4条回答
  • 2021-02-03 16:59

    Use vscode-solution-explorer extension:

    This extension adds a Visual Studio Solution File explorer panel in Visual Studio Code. Now you can navigate into your solution following the original Visual Studio structure.

    https://github.com/fernandoescolar/vscode-solution-explorer

    Thanks @fernandoescolar

    0 讨论(0)
  • 2021-02-03 17:08

    VSCode is a code editor, not a full IDE. Think of VSCode as a notepad on steroids with IntelliSense code completion, richer semantic code understanding of multiple languages, code refactoring, including navigation, keyboard support with customizable bindings, syntax highlighting, bracket matching, auto indentation, and snippets.

    It's not meant to replace Visual Studio, but making "Visual Studio" part of the name in VSCode will of course confuse some people at first.

    0 讨论(0)
  • 2021-02-03 17:19

    When you open a folder in VSCode, it will automatically scan the folder for typical project artifacts like project.json or solution files. From the status bar in the lower left side you can switch between solutions and projects.

    0 讨论(0)
  • 2021-02-03 17:20

    But you can open the folder with the .SLN in to edit the code in the project, which will detect the .SLN to select the library that provides Intellisense.

    0 讨论(0)
提交回复
热议问题