Visual Studio在编译过程中崩溃 [英] Visual studio crashes during compiling

查看:121
本文介绍了Visual Studio在编译过程中崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的问题是在VS2010中,我有一个基于Silverlight和Esri组件的企业应用程序,可以构建或重建Web项目(托管Silverlight),但是当我要编译并运行(F5)时,VS崩溃并且对话框窗口apperas想重启VS.
我没有这个问题,但是几个星期前,我的硬盘崩溃了,我不得不更换窗户并安装软件,之后我只有Silverlight项目遇到了这个问题.

这是事件查看器的输出


my problem is in VS2010, i have an enterprise application based on Silverlight and Esri components , i can build or rebuild web project (that hosts silverlight) but when i want to compile and run (F5) it VS crashes and a dialog windows apperas that wants to restart VS.
i didnt have not this problem , but a weeks ago my hard disk crashed and i had to change windows and install software and after that time i have this problem with only silverlight projects.

this is the event viewer output

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
Stack:
   at Microsoft.Internal.VisualStudio.PlatformUI.Utilities.SetValue(Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource, System.String, Microsoft.VisualStudio.Shell.Interop.IVsUIObject)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.SetValue(System.String, System.Object)
   at Microsoft.VisualStudio.PlatformUI.MainWindowDataSource.set_IsClosed(Boolean)
   at Microsoft.VisualStudio.PlatformUI.MainWindow+DataSourceEventSink.Disconnect(Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.<DisconnectEventSubscribers>b__6(UInt32, Microsoft.VisualStudio.Shell.Interop.IVsUIDataSourcePropertyChangeEvents)
   at Microsoft.Internal.VisualStudio.PlatformUI.CookieTable`3[[System.UInt32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ForEach(Microsoft.Internal.VisualStudio.PlatformUI.CookieTableCallback`2<UInt32,System.__Canon>, Boolean)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.DisconnectEventSubscribers()
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Dispose(Boolean)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Finalize()





Tanks.





Tanks .

推荐答案

这可能是Silverlight组件出现的问题.尝试重新安装VS2010以及Silverlight SDK(如果有).当构建特定项目所需的特定组件(在您的情况下为Silverlight SDK)没有响应或由于任何原因损坏时,会发生此错误.

如果它不起作用,我希望采用简单的方法,它是-重新安装Windows和所有其他驱动程序或软件(不使用备份副本或系统还原磁盘).
it may be the problem with Silverlight Components. Try Reinstalling your VS2010 and also Silverlight SDK (if any). This error occurs when the specific component that is required to build specific project (in your case-Silverlight SDK) is not responding or is corrupted for any reason.

If it doesn''t work I like to go for straightforward way and it is- freshly installing windows and every other drivers or softwares (not using the backup copy or system restore disk).


这篇关于Visual Studio在编译过程中崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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