How to open a Visual Studio Code Folder (Project) in Visual Studio IDE

Viewed 70063

How do I open I a Visual Studio Code folder in Visual Studio 2015?

If I open it as a "Web Site", it tries to treat the node_modules directory as part of the project's normal JavaScript files and hits an error when the path exceed the maximum path length.

But I can't open it as any other project type unless I first create a project of that type and then move all the VS Code files into that folder.

  • Should I be trying to open it as a web site?
  • Or should I create a new project and then copy the files + folders into it?
  • Is there any advantage to having it as a project?
  • If I do create a project, it makes it difficult to work together with someone who is just using VS Code?
  • And if I use a project, which project type should I select?
4 Answers

I'm sure it's not the best way but..

Open an existing .sln with notepad, change the names, save as [name of your project].sln.

Open with Visual Studio.

Related