打开解决方案时 Visual Studio 2010 崩溃
我们使用的第三方组件在设计器上查看时会导致 Visual Studio 2010 崩溃。这本身并不是一个问题,因为我们手动编写了布局代码。
不过上次不小心看到这个组件的设计器导致Visual Studio崩溃,[Design]文件保存为打开状态,现在每当启动VS打开项目时默认打开设计器然后Visual Studio崩溃。
我已删除所有 *.suo 和 *.user 文件,但不知何故 Visual Studio 仍然记得最后打开的文件,从而无法打开解决方案。
We are using a third-party component that crashes Visual Studio 2010 when it is viewed on a designer. This in itself was not a deal breaker, as we wrote the layout code by hand.
However, last time the designer of this component was viewed by accident and Visual Studio crashed, the [Design] file was saved as open, and now whenever VS is launched and the project opened, the designer is opened by default and then Visual Studio crashes.
I have deleted all *.suo and *.user files, but somehow Visual Studio still remembers which files were open last, making it impossible to open the solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
注释掉设计器文件中的代码,打开解决方案,取消注释。
首先,对文件进行备份(如果您在源代码管理中还没有备份),以防设计人员重新生成它。
Comment out the code in the designer file, open the solution, the uncomment it.
First, make a backup of the file (if you don't already have one in source control), in case the designer regenerates it.