Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

After installing extension in VS, Blend hits NullReferenceException when loading solution #1620

@angusgraham

Description

@angusgraham
  • GitHub Extension for Visual Studio version: 2.5.1.2234
  • Visual Studio version: 15.6.6
    Note that GitHub appears in the list of extensions for VS, but not for Blend.

When loading a WPF solution Blend I hit an exception.
Here are the relevant parts of the Blend ActivityLog.xaml:

194 2018/04/20 17:14:08.602 Error Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.TeamFoundation.Git.Provider, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\GITHUB\GITHUB\GitHub.TeamFoundation.14.dll 379 2018/04/20 17:14:08.702 Information Extension Manager Successfully loaded extension... C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\GITHUB\GITHUB\ 380 2018/04/20 17:14:08.702 Information Extension Manager Extension is enabled... C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\GITHUB\GITHUB\ 514 2018/04/20 17:14:13.841 Error Editor or Editor Extension System.NullReferenceException: Object reference not set to an instance of an object. at GitHub.InlineReviews.InlineCommentMarginProvider.IsMarginDisabled(IWpfTextViewHost textViewHost) in C:\projects\visualstudio\src\GitHub.InlineReviews\InlineCommentMarginProvider.cs:line 98 at GitHub.InlineReviews.InlineCommentMarginProvider.CreateMargin(IWpfTextViewHost wpfTextViewHost, IWpfTextViewMargin parent) in C:\projects\visualstudio\src\GitHub.InlineReviews\InlineCommentMarginProvider.cs:line 70 at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.<AddMargins>b__25_1(IWpfTextViewMarginProvider mp) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions