Hi Remco,
I have an environment where OneDrive is storing the stuff that does not make it into git every day.
So I have a synced storage folder, with git in it.
My project is usually used on one computer.
Today however I am trying to build my project on a second computer.
For space constraints, VS2019 has been installed on the E-drive.
In VS2019 Enterprise my solution builds fine.
I'm also using Resharper, and Resharper builds the same solution also fine.
NCrunch however fails to build one project, which references a project with a particular Nuget reference, which it seems to miss.
The Nuget packages on my second computer are not in the same place as on the first one.
NCrunch output for the build failure:
e:\program files (x86)\microsoft visual studio\2019\enterprise\MSBuild\Microsoft\NuGet\16.0\Microsoft.NuGet.targets: The package Autofac with version 4.9.2 could not be found in C:\Users\{username}\.nuget\packages\, C:\ProgramData\Xamarin\NuGet\. Run a NuGet package restore to download the package.
The c-drive packages folder does not exist in that place on my computer where the build fails - VS2019 has configured the packages on C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\.
Is there anything else I should mention to help you crunch the issue ? (because I fail to see what I can do to mitigate if VS builds fine ?)
Thx,
Dirk