在工作中,我在Windows XP上使用Visual Studio 2010。安装的唯一扩展是ASP.NET MVC 3及其 bundle 的东西。由于某种原因,VS可以正常工作,直到它突然崩溃为止,然后在大多数情况下会在打开文件时崩溃,并且当它没有崩溃时,当我尝试从VS运行我的MVC项目时,Web服务器进程也会崩溃(无论是否调试) )。
第一次发生这种情况是当我尝试查找在线模板时,然后在重新安装它之后,它运行良好,直到将JQuery库包含到项目中为止。在安全模式下运行似乎无法解决此问题,并且日志也没有说明任何内容。
有什么办法可以阻止VS崩溃呢?我需要研究MVC 3,但是我担心我的老板对我不好,因为我是唯一一个VS无缘无故崩溃的人。
编辑:这是我在ActivityLog.xml上遇到的错误:
Construction of frame content failed. Frame identifier: ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057} Frame caption: Propiedades Exception details: System.ArgumentException: La fuente 'Tahoma' no es compatible con el estilo 'Regular'. en System.Drawing.Font.CreateNativeFont() en System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) en System.Drawing.Font..ctor(FontFamily family, Single emSize) en System.Drawing.SystemFonts.get_DefaultFont() en System.Windows.Forms.Control.get_DefaultFont() en System.Windows.Forms.Control.get_Font() en System.Windows.Forms.ComboBox.get_PreferredHeight() en System.Windows.Forms.ComboBox.get_DefaultSize() en System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext) en System.Windows.Forms.ComboBox..ctor() en Microsoft.VisualStudio.PropertyBrowser.MSOComboBox..ctor(IUIService uiService) en Microsoft.VisualStudio.PropertyBrowser.PBComboBox..ctor(IUIService uiService) en Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser.CreateUI() en Microsoft.VisualStudio.PropertyBrowser.PropertyBrowser..ctor(IServiceProvider serviceProvider) en Microsoft.VisualStudio.PropertyBrowser.PropertyBrowserService.get_PropertyBrowser() en Microsoft.VisualStudio.PropertyBrowser.PropertyBrowserService.get_Window() en Microsoft.VisualStudio.Shell.WindowPane.Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.CreateUIElementPane(Object& uiElement) en Microsoft.VisualStudio.Platform.WindowManagement.UIElementDocumentObject.Init(Boolean initSize) en Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.InitializeDocumentObject(Object punkView) en Microsoft.VisualStudio.Platform.WindowManagement.PropertyBrowserSwitcher.OnQuerySwitchPane(FrameMoniker frameMoniker) en Microsoft.VisualStudio.Platform.WindowManagement.ContextSwitchFrame.QuerySwitchPane(FrameMoniker frameMoniker) en Microsoft.VisualStudio.Platform.WindowManagement.ContextSwitchFrame.OnElementValueChanged(UInt32 elementid, Object varValueOld, Object varValueNew) en Microsoft.VisualStudio.Platform.WindowManagement.ContextSwitchFrame.OnToolWindowCreated() en Microsoft.VisualStudio.Platform.WindowManagement.PropertyBrowserSwitcher.OnToolWindowCreated() en Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool) en Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool) en Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id) en Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
最佳答案
在这里观看
http://www.visualstudio.com/it-it/products/visual-studio-ultimate-with-msdn-vs#Fragment_SystemRequirements
您可以在Windows XP(带有SP3)上毫无问题地使用Visual Studio 2010,因为它是受官方支持的操作系统(请参阅http://go.microsoft.com/fwlink/?LinkId=133421)。
但是,为了形成个人意见,WinXp太过时了...但是您已经知道:-)
关于asp.net-mvc - Windows XP上的Visual Studio 2010突然崩溃,然后停止工作,直到重新安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26198611/