8000 Only load `GitHub.TeamFoundation.14` MEF components in to Visual Studio 2015 · Issue #1704 · 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.
Only load GitHub.TeamFoundation.14 MEF components in to Visual Studio 2015 #1704
Closed
@jcansdale

Description

@jcansdale

Hello! Please read the contributing guidelines before submitting an issue regarding the GitHub Extension for Visual Studio.

  • GitHub Extension for Visual Studio version: 2.5.3
  • Visual Studio version: 2017

There is a new TargetVersion attribute when specifying Asset element in Visual Studio 2017. We could use this to avoid the MEF errors when GitHub.TeamFoundation.14 fails to load into Visual Studio 2017.

For example:

    <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="GitHub.TeamFoundation.14" TargetVersion="[14.0,15.0)" Path="|GitHub.TeamFoundation.14|" />
    <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="GitHub.TeamFoundation.15" TargetVersion="[15.0,16.0)" Path="|GitHub.TeamFoundation.15|" />

Unfortunately this won't work in Visual Studio 2015, but at least we can now clean up the MEF log in Visual Studio 2017! 🎉

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

      0