Welcome Guest! To enable all features please Login or Register.



NCrunch on OneDrive
Dirk Maegh
#1 Posted : Monday, April 29, 2019 5:19:29 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/30/2016(UTC)
Posts: 14
Location: Belgium

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
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 ?)

#2 Posted : Monday, April 29, 2019 9:22:54 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,940

Thanks: 777 times
Was thanked: 997 time(s) in 950 post(s)
Hi Dirk,

Thanks for sharing this issue.

If you create a new small sample project/solution that references v4.9.2 of Autofac, does this project build under NCrunch? And if so, after doing this, does your main solution start building?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.031 seconds.