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

Is it possible to update dependency on Microsoft.CodeAnalysis 2.9.0 #66

Open
gregpakes opened this issue Jul 15, 2020 · 4 comments
Open
Assignees
Labels

Comments

@gregpakes
Copy link
Contributor

There appears to be a dependency on Microsoft.CodeAnalysis 2.9.0, but that version of the package appears to have this issue:

dotnet/roslyn-analyzers#2961
dotnet/roslyn-analyzers#2680
dotnet/roslyn-analyzers#1888

In all cases the fix is to add an explicit reference to a later version of Microsoft.CodeAnalysis in every project. In my case, that is 320 projects. I think it would be better to reference a version of the package that doesn't contain the issue.

@gregpakes
Copy link
Contributor Author

Incidentally, we only get this issue when we target .Net 4.8. Previously, we were targeting 4.6 and didn't have this issue.

@gregpakes gregpakes changed the title Is it possible to update dependency on Microsoft.CodeAnalaysis 2.9.0 Is it possible to update dependency on Microsoft.CodeAnalysis 2.9.0 Jul 15, 2020
@ejohn20
Copy link
Member

ejohn20 commented Aug 7, 2020

Just circling back to this, @gregpakes what's the actual solution here? Upgrading to v3.0 of the Roslyn libraries?

Also - is this using the Visual Studio extension or the NuGet package?

@ejohn20 ejohn20 self-assigned this Aug 7, 2020
@ejohn20 ejohn20 added the bug label Aug 7, 2020
@gregpakes
Copy link
Contributor Author

So, I solved it in my solution by adding a specific reference to the latest version of Microsoft.CodeAnalysis. I'm not sure what you want to do to fix, it may be a niche scenario for me.

We are using the Nuget Packages.

@games
Copy link

games commented Aug 25, 2020

hi there, any update for this?

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

No branches or pull requests

3 participants