Getting 2 errors building the source code for the programming model solution

Sep 10, 2012 at 2:01 PM

Getting these error building NakedObjects.Attributes.Test

Error 1 Package restore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node and check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment variable

I have the latest package manager but I am still not seeing this Allow option etc?

Second error is

'EnableNuGetPackageRestore' to 'true'. NakedObjects.Attributes.TestError 2 The command ""C:\nakedobjects-f19466856e17\nakedobjects_f19466856e17\.nuget\nuget.exe" install "C:\nakedobjects-f19466856e17\nakedobjects_f19466856e17\Programming Model\NakedObjects.Attributes.Test\packages.config" -source "" -o "C:\nakedobjects-f19466856e17\nakedobjects_f19466856e17\packages"" exited with code -1. NakedObjects.Attributes.Test

Sorry I'd like to build the source version first

Regards,

                         Alistair

Coordinator
Sep 10, 2012 at 2:21 PM

If VS is not giving you the option to allow automatic package restore,  can I suggest you try searching/posting on Stack Overflow, Nuget, or VS forums?  So far as I recall we didn't have do anything special to enable this capability  -  it just came in with a certain version of the Package Manager.

Sep 12, 2012 at 12:59 PM

Thankes heaps Richard

After a few restarts of VS 2010 I have the Allow NuGet to download missing packages during build option now.

I know I sh9uld be on 2012 now but I need to get the disks from work.

The Package Manager is at version 2.0 now, most of the forums messages had this prob with v  1.8 or 1.6.

But apparently when the package manager package does not update properly from nuget you can update it by uninstall from the control panel and it then download and installing the new pm. 

Coordinator
Sep 12, 2012 at 1:02 PM

FYI, though I have an express version of VS2012 installed  -  I still use VS2010 for my development.  I'm not alone in feeling that the UI styling for VS2012 feels like a big step back in time!

Editor
Sep 12, 2012 at 1:17 PM
There's a theme editor coming, apparently.


On 12 September 2012 15:02, richardpawson <notifications@codeplex.com> wrote:

From: richardpawson

FYI, though I have an express version of VS2012 installed - I still use VS2010 for my development. I'm not alone in feeling that the UI styling for VS2012 feels like a big step back in time!