How can I open a Visual Studio solution without loading all of its projects?

落爺英雄遲暮 提交于 2019-12-07 21:00:44

问题


I have big solution in Visual Studio that has some Android, Windows Phone and iOS Xamarin projects. Unfortunately, Visual Studio hangs (for hours) when it tries to load the whole solution. It worked fine as long as I usually only loaded either the Android or the iOS project (and plug-in project), but not both at the same time.

Unfortunately, I changed it and now I can't load the solution anymore. I read that settings like these are stored in the .suo file, but I have no idea how I change it (and disable loading the Android projects for example). How can I close certain projects without doing this after the whole solution loaded?

Thank you!


回答1:


You can open the sln file in notepad and just delete the projects you dont need. But to make sure you don't mess things up I would suggest making a backup of your sln file.




回答2:


You could just open the PRJ file that you're interested in all by itself.



来源:https://stackoverflow.com/questions/28833046/how-can-i-open-a-visual-studio-solution-without-loading-all-of-its-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!