Skip to content

Conversation

@joperezr
Copy link
Member

@joperezr joperezr commented Sep 3, 2021

@Ellerbach reported today that VS had yellow warning signs in references in most of the binding projects.
image

The reason why that was happening is because System.Device.Gpio project reference was added twice to all bindings, one global import, and one individual import per project. This PR is removing all of the individual imports in favor of just keeping the one global import, and I have validated that after doing this, the problem no longer repros:
image

Changes to projects where made using a small program I wrote which uses the MSBuild project model to make the changes, which is why most new-lines are being removed from .csprojs as a side effect.

Microsoft Reviewers: Open in CodeFlow

Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it! Looking forward to have it merged!

@joperezr joperezr added the Auto-Merge When added to a PR, it will be automatically merged after all checks pass. label Sep 3, 2021
@ghost
Copy link

ghost commented Sep 3, 2021

Hello @joperezr!

Because this pull request has the Auto-Merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 60 minutes, a condition that will be fulfilled in about 55 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@joperezr joperezr merged commit dbfa2fa into dotnet:main Sep 3, 2021
@joperezr joperezr deleted the FixDoubleImports branch September 3, 2021 20:01
@pgrawehr pgrawehr mentioned this pull request Sep 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Auto-Merge When added to a PR, it will be automatically merged after all checks pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants