microsoft / microsoft/MIEngine

VS 2019 runtime issue with dependencies

Open
#1,294 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C#
Stars
859
Forks
233
Avg merge
1d 6h
Merged PRs (30d)
3

Description

In our testing, we have built MIEngine in VS2019, which builds just fine. However, trying to load the extension in VS2019 fails. There seems to be a version incompatibility with some of the dependency dlls, mainly that Microsoft.VisualStudio.Shell.15.0 (version 17.0.0) is not loading. After changing that dependency to load version 16.10.31321.278 when building for VS2019, MIEngine extension is loaded. Note that this dll might not be the only one which needs to be "downgraded" when building for VS2019. I believe, we should make a separate projects for VS2022 and VS2019, or make some sort of conditional versioning of the dependencies based on which VS is being targeted.

Also documentation should be updated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the extension-loading failure when MIEngine is built for VS2019, then inspect the dependency configuration and build targets for Microsoft.VisualStudio.Shell.15.0 and related assemblies. Done means the VS2019 extension loads with compatible dependencies, VS2022 behavior remains supported, and the documentation explains the required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.