How MS Burns my time

I have an index.cshtml page with only 1 line of code.

*iframe src="~/Viewer/viewer.html?file=/Home/IndexAsPDF&page-height=1"**/iframe*

[Sorry, had to replace the gt and lt with * because wordpress is also a POS when it comes to displaying code.]

So what does visual studio do when I try to edit the URL? CRASH! WTF! MS, don’t you test this $800 POS?

System.NullReferenceException: Object reference not set to an instance of an object.
 at Microsoft.VisualStudio.Web.Editor.Workspace.VsWebUrl.get_Children()
 at Microsoft.VisualStudio.Html.Completion.Html.UrlEntryListProvider.GetEntries()
 at Microsoft.VisualStudio.Html.Completion.Html.FileExtensionsAttributeValuesCompletion.GetUrlEntries(IHtmlElementInfo elementInfo, IHtmlAttributeInfo attributeInfo, HtmlCompletionContext context)
 at Microsoft.VisualStudio.Html.Completion.Html.FileExtensionsAttributeValuesCompletion.GetEntries(HtmlCompletionContext context)
 at Microsoft.Html.Editor.Intellisense.HtmlCompletionSource.PopulateCompletionList(Int32 position, ICompletionSession session, IList`1 completionSets)
 at Microsoft.Html.Editor.Intellisense.HtmlCompletionSource.AugmentCompletionSession(ICompletionSession session, IList`1 completionSets)
 at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.Start()
 at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionBroker.TriggerCompletion(ITextView textView)
 at Microsoft.Web.Editor.Intellisense.CompletionController.TriggerCompletion()
 at Microsoft.Web.Editor.Intellisense.CompletionController.ShowCompletion(Boolean autoShownCompletion)
 at Microsoft.Web.Editor.Intellisense.CompletionController.OnPostTypeChar(Char typedCharacter)
 at Microsoft.Html.Editor.Intellisense.HtmlCompletionController.OnPostTypeChar(Char typedCharacter)
 at Microsoft.Web.Editor.TypingCommandHandler.OnPostTypeChar(Char typedChar)
 at Microsoft.Web.Editor.TypingCommandHandler.PostProcessInvoke(CommandResult result, Guid group, Int32 id, Object inputArg, Object& outputArg)
 at Microsoft.Html.Editor.HtmlTypingCommandHandler.PostProcessInvoke(CommandResult result, Guid group, Int32 id, Object inputArg, Object& outputArg)
 at Microsoft.Web.Editor.Controller.Invoke(Guid group, Int32 id, Object inputArg, Object& outputArg)
 at Microsoft.Web.Editor.ViewController.Invoke(Guid group, Int32 id, Object inputArg, Object& outputArg)
 at Microsoft.Html.Editor.HtmlMainController.Invoke(Guid group, Int32 id, Object inputArg, Object& outputArg)
 at Microsoft.VisualStudio.Html.Interop.CommandTargetToOleShim.Exec(Guid& guidCommandGroup, UInt32 commandID, UInt32 commandExecOpt, IntPtr variantIn, IntPtr variantOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam)
 at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)
 at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<DispatchTextInputEvents>b__0(KeyProcessor p, TextCompositionEventArgs args)
 at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1e`1.<Dispatch>b__1a()
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.