These are chat archives for
Sign in to start talking
Source code for the CodeContracts tools for .NET
Sep 05 2015 00:25
I'm finally find time to fix some issues with Code Contracts:)... I've tried to build solution with new test infrastructure, and I was unable to build until I enabled nuget package restore on build...
is it expected?
Sep 05 2015 02:46
Visual Studio will automatically restore packages if you try to build within Visual Studio. How were you trying to build?
Sep 05 2015 03:35
Sure, I tried to build, rebuild, clean+build, but I've got an error that I need to enable package restore first.
after turn it on, I was able to build successfully...
Sep 05 2015 03:37
When you say turn it on, do you mean this?
Sep 05 2015 03:39
Sep 05 2015 03:42
That is enabled by default, and yes at least the first time you build after packages changed you'll need it enabled.
An alternative is to build using the buildCC script the first time, which will do a command-line restore operation.
But aside from you I've never seen someone disable that option in Visual Studio