question

RobLatour-3763 avatar image
0 Votes"
RobLatour-3763 asked RobLatour-3763 answered

Visual Studion crashes on project load

When I try to open one of my solutions in Visual Studio, Visual Studio starts the load and then just crashes. Below is what I am seeing in MS event viewer.

Nothing about the solution that I am trying to open has changed, I have however upgraded to the latest VS release from MS since then.

Any insights would be appreciated.

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UriFormatException
at System.Uri.CreateThis(System.String, Boolean, System.UriKind)
at System.Uri..ctor(System.String, System.UriKind)
at Microsoft.VisualStudio.Imaging.UriSourceDescriptor.MakeUri(System.String)
at Microsoft.VisualStudio.Imaging.UriSourceDescriptor.ValidateUriString(System.String)
at Microsoft.VisualStudio.Imaging.UriSourceDescriptor..ctor(System.String, Microsoft.VisualStudio.Utilities.Int16Size, Microsoft.VisualStudio.Utilities.Int16Size, Microsoft.VisualStudio.Imaging.NativeResource, Microsoft.VisualStudio.Imaging.SourceBackground)
at Microsoft.VisualStudio.Imaging.SingleImageBundle.Create(Microsoft.VisualStudio.Imaging.ImageMoniker, System.String, Int32, Boolean)
at Microsoft.VisualStudio.Imaging.ImageLibrary.TryAddImageBundleForProgId(System.String, Boolean, Microsoft.VisualStudio.Imaging.ImageBundle ByRef)
at Microsoft.VisualStudio.Imaging.ImageLibrary.TryGetBundleForProgId(System.String, Boolean, Microsoft.VisualStudio.Imaging.ImageBundle ByRef)
at Microsoft.VisualStudio.Imaging.ImageLibrary.TryGetBundleForExtension(System.String, Boolean, Microsoft.VisualStudio.Imaging.ImageBundle ByRef)
at Microsoft.VisualStudio.Imaging.ImageLibrary.TryGetMonikerForExtension(System.String, Boolean, Microsoft.VisualStudio.Imaging.Interop.ImageMoniker ByRef)
at Microsoft.VisualStudio.Services.ImageService.ExtensionToMonikerMap.TryAddEntry(Microsoft.VisualStudio.Imaging.ImageLibrary, System.String, Microsoft.VisualStudio.Imaging.Interop.ImageMoniker ByRef)
at Microsoft.VisualStudio.Services.ImageService.ExtensionToMonikerMap.GetMoniker(Microsoft.VisualStudio.Imaging.ImageLibrary, System.String)
at Microsoft.VisualStudio.Services.VsImageService.GetImageMonikerForFile(System.String)
at Microsoft.VisualStudio.PlatformUI.HierarchyManager.LoadIconFromImageService(Microsoft.VisualStudio.PlatformUI.HierarchyItem)
at Microsoft.VisualStudio.PlatformUI.HierarchyManager.GetImageMonikerFromHierarchy(Microsoft.VisualStudio.PlatformUI.HierarchyItem, Int32, Int32, Int32, Int32, Microsoft.VisualStudio.Imaging.Interop.IImageHandle ByRef)
at Microsoft.VisualStudio.PlatformUI.HierarchyItem.<EnsureIcon>g_GetIconMoniker|78_0()
at Microsoft.VisualStudio.PlatformUI.HierarchyItem+<>c
DisplayClass73_0.<GetIcon>b_0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

vs-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Have you tried starting VS with no extensions loaded to see if one of those may be the source of the problem?


0 Votes 0 ·

1 Answer

RobLatour-3763 avatar image
0 Votes"
RobLatour-3763 answered

resolved this by going into the .sln file and removing some files associated with 3d prints

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.