I installed Paket for Visual Studio
from
https://marketplace.visualstudio.com/items?itemName=SteffenForkmann.PaketforVisualStudio.
Then I created a new project (actually a solution) and checked immediately that a NuGet
package called System.ValueTuple
already was installed under NuGet
. (I did not install this package). The package version was v4.4.0
but I could see that version v4.5.0
was already available.
After a bit of tampering I arrived at a condition where NuGet
still had version v4.4.0
of System.ValueTuple
while Paket
was supposedly using v4.5.0
. The details of how I did this are tedious and are at the bottom of this post.
Do I have to worry that NuGet
and Paket
are referencing different versions of the System.ValueTuple
package?
Should I update that package in NuGet
to version v4.5.0
?
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Details of how I ended up with two different versions in NuGet
and Paket
:
I did Tools\Paket Dependencies Manager\Update All Packages
, hoping to update the package. However, nothing happened. v4.4.0
was still the version installed in NuGet
.
At this point my solution did not have a .paket
folder, a paket.dependencies
file or a paket.lock
file.
So I went to the Solution Explorer
and chose References\Add Package
and added the Deedle
package. I also added the System.Data
package that is required by Deedle
.
I checked again and the version of System.ValueTuple
did not change in NuGet
.
Once again I did Tools\Paket Dependencies Manager\Update All Packages
but v4.4.0
was still the version installed in NuGet
.
So I did References\Add Package
and added System.ValueTuple
to Paket
. The package appeared in paket.dependencies
but it still had v4.4.0
in NuGet
. I opened the file paket.lock
with an editor and searched for ValueTuple
. I could see the following: System.ValueTuple (4.5)
on line 482 and no other instances on other lines.