开发者

Solution within solutions vs 2010

开发者 https://www.devze.com 2023-01-22 02:14 出处:网络
Wondering if its\' possible to have solution within solution in vs 2010? H开发者_如何学编程ow?

Wondering if its' possible to have solution within solution in vs 2010? H开发者_如何学编程ow? thanks alot


No.

However, you can organize projects into Solution Folders.


No

However you can have Solution folders to organize your projects inside of. Organizing your projects into folders is nice because you can right click on a folder and build the projects inside that folder.


Since Visual Studio doesn't support solutions in solutions (I feel this is a feature that should be supported) the closest approximation you can have is create groupings of your projects with multiple solutions so you have like

  • Client.sln
  • Server.sln
  • Master.sln that has all of the projects

This adds some additional effort when solution level changes are made such as adding/removing projects but I've used this methodology previously with good success.

In most instances work will never need to be done in the Master.sln except for integration work and potentially deployments depending how your setup for them. So instead of having a solution with 200 projects that is massively slow to open/build you'll have much smaller working subsets.

It's really unfortunate that VS doesn't support this natively so that the master solution is automatically maintained by actions of the subsolutions.


I’m afraid no, but you can have multiple projects in a solution. I see no point in doing that as the solution has mostly just organizational purpose...

0

精彩评论

暂无评论...
验证码 换一张
取 消