Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDoesn't work in Blend despite showing as an extension for it #951
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi @Clef-0, thanks for bringing this to our attention. I'm also seeing the same thing when I open Blend 2017. We'll take a look into this. In the meantime, if you disable the extension (Disable button on the extension in Extensions and Updates) and restart Blend, that error will disappear. This will not disable the extension in Visual Studio if you use it as well. |
This comment has been minimized.
This comment has been minimized.
|
@AArnott Is it possible to configure a vsix file to not install on Blend until we can figure out how/if we can support Blend? |
This comment has been minimized.
This comment has been minimized.
|
I believe Blend won't load VS packages unless they are on a whitelist. If your GitHub extension defines a VS Package (I'm pretty sure it does), then it probably isn't loading in Blend, so you get a null back from GetService or perhaps LoadPackage calls you make. You should always check for null results from these calls anyway. If you get null back, you can hopefully gracefully degrade or simply deactivate to avoid an exception like this. I'm pretty sure that there isn't a way for a VSIX to not apply to Blend. So while Packages are automatically disabled in Blend for you, the MEF extension is not. So your MEF extension should no-op if it needs a VS package that can't produce its service. Is that something you can do on your end? |
This comment has been minimized.
This comment has been minimized.
|
@AArnott Thanks for the info! Yup, we can degrade gracefully, and we can probably bypass the package entirely for Blend and make it work - the TE functionality doesn't depend on it directly, it's there to support the Start Page Clone and some other things here and there. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This is affecting me on 2015, as well. It doesn't look like there's been a recent extension update, but a windows update, from last week, may have caused it. I can no longer even open my solution that I'm using that has a VSTS git repository in it, because the simple act of it having git causes Blend to crash when I open the solution and I get the above error in the team explorer if I try to simply look there without a solution. I'll have to remove the extension from Visual Studio, and hope that it resolves the issue in Blend, for now, until this gets a fix. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Lots of exceptions like this one are showing up in
|






The GitHub plugin shows in Microsoft Blend 2017's extensions browser but spews an error in the sidebar when it is loaded.