8000 Lots of "Catalog construction errors" in Microsoft.VisualStudio.Default.err · Issue #954 · github/VisualStudio · GitHub
[go: up one dir, main page]

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.
Lots of "Catalog construction errors" in Microsoft.VisualStudio.Default.err #954
Closed
@jcansdale

Description

@jcansdale
  • GitHub Extension for Visual Studio version: 2.2.0.8
  • Visual Studio version: VS 2015/2017

There are lots of exceptions in the error log file (7 pages!) from when Visual Studio constructs its MEF catalog. Here is the Microsoft.VisualStudio.Default.err log from VS 2017:
Microsoft.VisualStudio.Default.err.txt

This is a known issue (and workaround) caused by a version change to the Microsoft.TeamFoundation.Controls assembly between VS 2015 and 2017.

The GitHub.TeamFoundation.14 assembly is compiled against Microsoft.TeamFoundation.Controls, Version=14.0.0.0 and intended to rune inside VS 2015. The GitHub.TeamFoundation.15 assembly is compiled against Microsoft.TeamFoundation.Controls, Version=15.0.0.0 and intended to rune inside VS 2017.

Unfortunately it isn't possible to specify different assemblies for different versions of Visual Studio inside a VSIX file, so Visual Studio attempts to install both assemblies which results in the errors.

Update: is is possible in recent versions of Visual Studio 2017 See c9703cd

I wonder if it's possible to somehow forward MEF exports to the GitHub.TeamFoundation.14 and GitHub.TeamFoundation.15 assemblies and avoid these errors?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0