Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyzer proposal: Catch uses of older VisualStudioServices version #129

Open
AArnott opened this issue Jan 27, 2021 · 0 comments
Open

Analyzer proposal: Catch uses of older VisualStudioServices version #129

AArnott opened this issue Jan 27, 2021 · 0 comments

Comments

@AArnott
Copy link
Member

AArnott commented Jan 27, 2021

Problem statement

Folks who target 16.9 but use VisualStudioServices.VS2019_7 are missing out on functionality or perf improvements that may be reserved to users of VisualStudioServices.VS2019_9.

Proposed solution

As existing code from when code targeted an older version is inevitable, we should add an analyzer that notices when any version older than the most recent available one is used given the reference assemblies.

I suggest making the diagnostic severity default to Info, since light-up scenarios or behavioral difference between service moniker versions can make upgrading significant.

A code fix could offer to bulk update all uses too.

AArnott added a commit that referenced this issue Apr 14, 2022
Collect test diagnostic logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant