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

Notification

Icon
Error

2 Pages<12
Even the simplest .NET Core project fails to build under NCrunch
Remco
#21 Posted : Monday, August 28, 2017 6:37:19 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
GreenMoose;11094 wrote:

And am I supposed to run both dotnetcore restore, and nuget restore, before invoking ncrunch.exe or should ncrunch.exe perform this logic by itself?


It's definitely good practice to do a restore before invoking the console tool. I believe the console tool does invoke 'msbuild /t:Restore', though I'm not sure how reliable this command is in the latest MS toolset.

A critical change in the above build was adding additional search paths for the .NET Core SDK libraries. Prior to this build, NCrunch could only work with the libraries inside your user's Nuget packages directory. Now, it should use both the user Nuget packages directory and the Nuget fallback directory under the dotnet install path. I would have thought that your missing library could have been resolved to the fallback path, but it's possible that dotnet wants it as a user package. Nothing about the structure of this platform is feeling very certain for me at the moment.
Users browsing this topic
Guest
2 Pages<12
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.015 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download