We noticed an issue when a new team member did a local setup of my project. The Sitecore Nuget packages did not get resolved correctly. After a while I noticed that the packages on the new install were in folders like packages\Sitecore.Kernel.NoReferences.9.0.180604\lib\NET462
. The last part (net462) was the tricky one, as I noticed on my machine they were in a net452 folder. Problem is that those folders are stored in the project files.
I tried:
- physically all package files and restore them with VS
- removing the packages from my solution and re-installing them
- rebooting :) (combined with previous steps)
Nothing seems to work.. the packages keep getting installed in a net452 folder on my machine, although it is definitely a 4.6.2 version.
When we tried this on a third dev machine, it was even more strange. Some packages got into 452 folders, others in 462.. :(
Any idea why this is happening and how I can get VS to install the packages in a 462 folder?