Wrong assembly version brought with dependency
I have an assembly_A that depends on *some_framework* v2.1 from NuGet.
Then I have some assembly_B that depends on assembly_A, but when I compile
the solution, it's the version 2.0 - not 2.1 of *some_framework* that is
brought with assembly_B.
My guess is that the build has chosen v2.0 because that's the version in
my GAC, but I need v2.1... No other dependency uses *some_framework*.
Obvious bypass would be to make assembly_B depend on *some_framework* v2.1
through NuGet, but that's not very elegant!
Any thoughts?
Thanks
No comments:
Post a Comment