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

Fix build when using source generators coming from NuGet package #6799

Merged
merged 2 commits into from
Jul 14, 2022

Conversation

dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Jul 14, 2022

Fixes #6792

Description

Fixes build of project using source generators coming from NuGet packages. Added a new target for de-duplicating the list of analyzers.

Added a target to de-duplicate the list of analyzers

Customer Impact

Fixes build.

Regression

This is a regression introduced in .Net 6.0.7 by #6534 which was backported by #6680.

Testing

Tested locally by building a project which uses Regex source generator, WinForms source generator and CommunityToolkit.Mvvm 7.1.2 source generator (This is an example of a source generator that currently fails on .Net 6.0.7 SDK).

Risk

Low.

Microsoft Reviewers: Open in CodeFlow

@dipeshmsft dipeshmsft requested a review from a team as a code owner July 14, 2022 16:01
@ghost ghost assigned dipeshmsft Jul 14, 2022
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Jul 14, 2022
@ghost ghost requested review from singhashish-wpf and SamBent July 14, 2022 16:01
@dipeshmsft dipeshmsft changed the title Better fix build when using source generators coming from NuGet package Fix build when using source generators coming from NuGet package Jul 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visual Studio 17.2.6 Breaks CommunityToolkit.Mvvm
2 participants