Why can't I install this NuGet package
I don't unserstand why can't I install nuget package
Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing v1.1.1
when I got already installed in another project:
Microsoft.CodeAnalysis.CSharp.Workspaces v4.9.2
18 Replies
What is wrong here?
read the error message
Yeah, I was pasting it right now ;p
it literally says..
Version conflict detected for Microsoft.CodeAnalysis.Common.
wait a sec, I checked this
installing that version of the package would create a version conflict
thats why it refuses to do it
How to read it differently than
>=
(above) 3.8.0
I would understand if it was =
, but it is above 3.8.0
so how to read this initial error, if I checked this and it should workits not conflicting with Workspaces
Microsoft.CodeAnalysis.Common (= 3.8.0).
Microsoft.CodeAnalysis.Common 4.9.2
do you see the problem?I can see that, but I still don't understand it. After all, if Testing requires a version above 3.8.0, and it has version 4.9.2 then theoretically
Testing should take Workspaces version 4.9.2 and thus CodeAnalysis.Common version 4.9.2
I understand that Workspaces 3.8.0 requires Common 3.8.0
but why does it takes Workspaces 3.8.0 in the first place?
dunno, but does
>=
really allow jumping up a major version?
I assume it respects semver to some capacity
meaning it will allow the greatest 3.x
, but not a 4.xand this is the question, hah š Unfortunately I don't have much experience with nuget packages, but as I see
>=
I thought it worked even with the major
version.
I can check thatconsidering major implies a breaking change, it would be weird to "allow" it
I will check 3.11 now
Stil nothing ;-;
Is this normal behavior? Maybe it just shouldn't work that way, but in my Rider it works that way?
ĀÆ\_(ć)_/ĀÆ
So it wasn't as stupid question as I thought š
nah dependency nightmares are real
š