After trying to run a pretty normal App, I ended up with a blue screen and now the following is displayed in SharpDevelop each time I load an application.
The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
The error log I received after the blue screen was this:
SharpDevelop Version : 5.0.0.4395-Beta 4-6585614e
.NET Version : 4.0.30319.18444
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : English (United States) (en-US)
Working Set Memory : 64200kb
GC Heap Memory : 8120kb
Exception thrown:
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at AvalonDock.DockingManager.RestoreLayout(String filename)
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.LoadLayout(String fileName, Boolean hideAllLostPads)
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.TryLoadConfiguration()
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.LoadConfiguration()
---- Recent log messages:
08:34:11.467 [1] INFO - InitSharpDevelop finished
08:34:11.467 [1] INFO - Initializing workbench...
08:34:14.665 [1] WARN - Codon (Refactoring) specified in the insertbefore of the [Codon: name = MenuItem, id = DebuggerSetCurrentStatement, addIn=C:\Program Files\SharpDevelop\5.0\bin\..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist!
08:34:14.665 [1] WARN - Codon (Refactoring) specified in the insertbefore of the [Codon: name = MenuItem, id = DebuggerRunToCursor, addIn=C:\Program Files\SharpDevelop\5.0\bin\..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist!
08:34:14.665 [1] WARN - Codon (Refactoring) specified in the insertbefore of the [Codon: name = MenuItem, id = DebuggerSeparator, addIn=C:\Program Files\SharpDevelop\5.0\bin\..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist!
08:34:14.665 [1] WARN - Codon (AddExpressionBreakpoint) specified in the insertafter of the [Codon: name = MenuItem, id = AddWatchExpression, addIn=C:\Program Files\SharpDevelop\5.0\bin\..\AddIns\Debugger\Debugger.AddIn.addin] codon does not exist!
08:34:14.665 [1] WARN - Codon (FindNextSelected) specified in the insertafter of the [Codon: name = MenuItem, id = Replace, addIn=C:\Program Files\SharpDevelop\5.0\bin\..\AddIns\Misc\SearchAndReplace\SearchAndReplace.addin] codon does not exist!
08:34:14.696 [1] INFO - Loading addin CodeCoverage AddIn
08:34:14.696 [1] INFO - Loading addin AvalonEdit AddIn
08:34:14.696 [1] INFO - Loading addin XML Editor
08:34:14.727 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Debugging.IDebuggerService
08:34:14.727 [1] INFO - Loading addin Debugger
08:34:15.117 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.CompilerMessageView...
08:34:15.195 [1] DEBUG - [AddInManager2] AddInsViewModelBase: Changed package source to SharpDevelop AddIn Repository
08:34:15.195 [1] INFO - Starting workbench...
08:34:15.195 [1] DEBUG - NavigationService -- suspend logging
08:34:15.195 [1] INFO - Loading addin Start Page
08:34:15.226 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.WinForms.IWinFormsService
08:34:15.304 [1] DEBUG - NavigationService -- resume logging
08:34:15.616 [1] INFO - Number of screens: 1
08:34:15.616 [1] INFO - Screen {X=0,Y=0,Width=1366,Height=768}: Validating {X=10,Y=10,Width=750,Height=550}; intersection {X=10,Y=10,Width=750,Height=550}
08:34:15.632 [1] INFO - dockingManager_Loaded
08:34:15.741 [1] INFO - Loading layout file: C:\Users\Keagan\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml, hideAllLostPads=False
08:34:15.772 [1] ERROR -
--> Exception:
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at AvalonDock.DockingManager.RestoreLayout(String filename)
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.LoadLayout(String fileName, Boolean hideAllLostPads)
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.TryLoadConfiguration()
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.LoadConfiguration()
08:34:16.271 [1] WARN - Stack trace of last exception log:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.LoadConfiguration()
at ICSharpCode.SharpDevelop.Workbench.AvalonDockLayout.dockingManager_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Application.<RunInternal>b__f(Object obj)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()
at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()
at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: <null>
ProjectService.CurrentProject: <null>
Workbench.ActiveContent: <null>