An exception is being thrown when opening a .vue file and attempting to edit the file. Also the file icon for .vue files does not appear.
Steps to recreate
Install Vue Pack extension.
Open Visual Studio
Create new *.vue file.
Try typing a tag in the new *.vue file.
Current behavior
No Vue file icon is appearing for *.vue files.
When editing the file and exception is thrown, and no Vue intellisense is available.
705ErrorMicrosoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "VuePack.ElementDirectiveCompletion". ---> System.TypeInitializationException: The type initializer for 'VuePack.BaseCompletion' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at VuePack.BaseCompletion.GetImage(ImageMoniker moniker, Int32 size) in C:\Users\rwalker\Documents\GitHub\VuePack\src\HTML\Completion\BaseCompletion.cs:line 39
at VuePack.BaseCompletion..cctor() in C:\Users\rwalker\Documents\GitHub\VuePack\src\HTML\Completion\BaseCompletion.cs:line 17
--- End of inner exception stack trace ---
at VuePack.BaseCompletion..ctor()
at VuePack.ElementDirectiveCompletion..ctor()
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()
at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass11_0`2.<CreateStronglyTypedLazyOfTM>b__1()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.get_Value()
at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetElementCompletionProviders(String completionType, String elementPrefix, String elementName)
at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetCompletionForChildren(ElementNode element, String& completionType)
at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetInContentCompletions(RootNode rootNode, Int32 position, ElementNode element, AttributeNode attribute, ITextRange& range, Boolean autoShownCompletion, String& completionType)
at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetCompletionForLocation(RootNode rootNode, IContentType contentType, Int32 position, ElementNode& element, AttributeNode& attribute, ITextRange& range, String& completionType, Boolean autoShownCompletion)
at Microsoft.Html.Editor.Completion.HtmlCompletionSource.PopulateCompletionList(Int32 position, ICompletionSession session, IList`1 completionSets)
at Microsoft.Html.Editor.Completion.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.Completion.CompletionController.TriggerCompletion()
at Microsoft.Web.Editor.Completion.CompletionController.ShowCompletion(Boolean autoShownCompletion)
at Microsoft.Html.Editor.Completion.HtmlCompletionSource.RetriggerCompletion(ICompletionSession session)
at Microsoft.Html.Editor.Completion.HtmlCompletionSource.<>c__DisplayClass8_0.<TreeUpdatedCallback>b__0()
at Microsoft.Web.Editor.Utility.GuardedOperations.InvokeExtensionPoint(Object errorSource, Action action)
Installed product versions
Description
An exception is being thrown when opening a .vue file and attempting to edit the file. Also the file icon for .vue files does not appear.
Steps to recreate
Current behavior
No Vue file icon is appearing for *.vue files. When editing the file and exception is thrown, and no Vue intellisense is available.
Expected behavior