-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Why does "Microsoft.CodeAnalysis.Scripting.Common" need a fixed version from "Microsoft.CodeAnalysis.Common"? #42935
Comments
The scripting libraries use internal APIs from other layers. There is no guarantee that these will work except when the versions are an exact match. For example:
In other words, this dependency is a true version-locked dependency. |
This design makes using/referencing the
|
You should be able to pick a version that matches the dependency for |
Neither of these packages has access to the internal APIs. I'm not sure why they would use fixed versions. |
So it's impossible to install these 2 libraries in 1 single project. |
Have you tried explicitly installing Microsoft.CodeAnalysis.CSharp.Workspaces version 3.4.0 in the same project? |
When I look at the NuGet dependencies for:
![image](https://user-images.githubusercontent.com/249938/78011778-563c8a80-7344-11ea-9f6a-d5917fa5e2b1.png)
Microsoft.CodeAnalysis.Scripting.Common - 3.4.0
, I see this:Why is an exact version 3.4.0 needed ? And not just => 3.4.0 ?
See also
The text was updated successfully, but these errors were encountered: