如何在不加载所有项目的情况下打开Visual Studio解决方案? [英] How can I open a Visual Studio solution without loading all of its projects?

查看:140
本文介绍了如何在不加载所有项目的情况下打开Visual Studio解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio中有一个很大的解决方案,其中包含一些Android,Windows Phone和iOS Xamarin项目.不幸的是,Visual Studio在尝试加载整个解决方案时会挂起(持续数小时).只要我通常只加载Android或iOS项目(和插件项目),但不能同时加载两者,它就可以正常工作.

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.

不幸的是,我更改了它,现在无法加载解决方案了.我读到类似的设置存储在.suo文件中,但是我不知道如何更改它(例如,禁用加载Android项目).加载整个解决方案后,如何不执行此操作就关闭某些项目?

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?

谢谢!

推荐答案

您可以在记事本中打开sln文件,然后删除不需要的项目. 但是为了确保您不会搞砸,我建议您备份sln文件.

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.

这篇关于如何在不加载所有项目的情况下打开Visual Studio解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆