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

Tooling Inserts Duplicate ProjectReferences In Some Scenarios #3

Open
aolszowka opened this issue Feb 8, 2019 · 0 comments
Open

Tooling Inserts Duplicate ProjectReferences In Some Scenarios #3

aolszowka opened this issue Feb 8, 2019 · 0 comments

Comments

@aolszowka
Copy link
Owner

Consider the following scenario:

  1. Project has an AssemblyReference and a ProjectReference to the same project
  2. Tooling is run.

As the tooling is written today this will result in a duplicate ProjectReference entry. MSBuild proper and Visual Studio do not seem to care; but when running Roslyn-Based Tooling (such as StyleCop's Stand Alone Fixer) this will throw an exception due to the duplicates. See dotnet/roslyn#31390

This tooling should be a "good neighbor" and not insert this duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant