View more than one project/solution in Visual Stud

2020-02-07 16:44发布

I am new to visual studio and I am experimenting around with some Windows Services. I have created two solutions and I would like to view both of them at once. Without having to click file->recent projects to switch back and forth.

Ideally this could take place in the solution explorer and just nest the projects, but I am only able to view one solution/project at a time there.

Is there anyway to view multiple solutions/projects in Visual Studio?

10条回答
趁早两清
2楼-- · 2020-02-07 17:16

This is the way Visual Studio is designed: One solution, one Visual Studio (VS) instance.

Besides switching between solutions in one VS instance, you can also open another VS instance and open your other solution with that one. Next to solutions there are as you said "projects". You can have multiple projects within one solution and therefore view many projects at the same time.

查看更多
ら.Afraid
3楼-- · 2020-02-07 17:16

Don't know whether this is useful but if you want to work with multiple projects without navigating through projects tree {like multi window} you can try opening VS in another virtual desktop (at least it's possible for Windows 10) by holding Ctrl+win+D. Then open another VS studio and open your other project there. You can switch between projects by Ctrl+win+arrow key {left/right}.

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2020-02-07 17:18

You can create a new blank solution and add your different projects to it.

查看更多
成全新的幸福
5楼-- · 2020-02-07 17:19

There is a way to store multiple solutions in one instance of VS.

Attempt the following steps:

  1. File > Open > Project/Solution
  2. This will bring up the open project window, notice at the bottom where it says options, select add to solution

Add to Solution

  1. Then select the file you want to add and click open
  2. This will then add the solution to your project. You still won't be able to run the same project in a single instance of VS, but you can have all your code organized in one place.

NOTE: This worked for Visual Studio 2013 Professional

查看更多
smile是对你的礼貌
6楼-- · 2020-02-07 17:19

Just right click on the Visual Studio icon and then select "New Window" from the contextual toolbar that appears on the bottom in Windows 8. A new instance of Visual Studio will launch and then you can open your second project.

查看更多
放我归山
7楼-- · 2020-02-07 17:24

You can have multiple projects in one instance of Visual Studio. The point of a VS solution is to bring together all the projects you want to work with in one place, so you can't have multiple solutions in one instance. You'd have to open each solution separately.

查看更多
登录 后发表回答