In VS, when you choose "Open project" if you give it the path to a .exe file, it'll create an "exe project" which lets you launch in the debugger.
This causes an exception in VSColorOutput64:
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at VSColorOutput.Output.BuildEvents.BuildEvents.SolutionOpened()
at VSColorOutput.Output.BuildEvents.BuildEvents.Initialize(IServiceProvider serviceProvider)
at VSColorOutput.Output.BuildEvents.BuildEventsProvider.GetClassifier(ITextBuffer textBuffer)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeEligibleFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter, IContentType dataContentType, IContentTypeRegistryService contentTypeRegistryService, Object errorSource)
at VSColorOutput.Output.BuildEvents.BuildEventsProvider.GetClassifier
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeEligibleFactories
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTaggerProvider.CreateTagger
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.InstantiateBufferTagger
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.InstantiateOrDeferBufferTagger
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.AddBufferTaggers
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.AddTaggers
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.RegisterBuffer
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.RegisterSnapshotAndChildren
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.Initialize
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregatorFactoryService.CreateTagAggregator
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierAggregator..ctor
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierAggregatorService.GetClassifier
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Initialize
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextEditorFactoryService.InitializeTextView
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Init_InitializeWpfTextView
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Init_OnActivation
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.PreOuterQueryStatus
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.QueryStatus
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.<QueryStatus>g__TryHandleQueryStatus|83_0
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus
In VS, when you choose "Open project" if you give it the path to a
.exefile, it'll create an "exe project" which lets you launch in the debugger.This causes an exception in VSColorOutput64: