-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
method AnalyzerResultExtension.AddToWorkspace doesn't check for duplicate projects in solution #156
Comments
I'm having a little trouble understanding the issue here. Can you provide any more details about the What would really help is a reproducible Solution and Project file(s) so I can see exactly what's going on. |
The You can reproduce this issue by creating |
I just did some related work on transitive references in Roslyn workspaces in #181 which should hopefully help with the scenario here, but I still can't reproduce anything like the |
@daveaglick the project I describe here reproduces the issue I mention. |
Consider the following snippet.
Now, assume that the project to which the object
projAnalyzer
is associated with has structure such as that of this project — from a Roslyn issue.Then, the addition to the workspace triggers an
InvalidOperationException
. I imagine that Buildalyzer should check the presence of the project before adding it (due to transitive references).The text was updated successfully, but these errors were encountered: