Packages not being restored

kirk.marple's Avatar

kirk.marple

25 Jul, 2015 11:54 PM

I'm attempting to run a build using "Visual Studio 2015" OS image, and have read through the discussions and configured DNX_FEED variable, and set my install script to:

set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
dnvm install 1.0.0-beta5

BTW, "Visual Studio 2015" image is the final release that came out last week, right?

It appears like it's not attempting to restore any nuget packages:

>> Unable to resolve dependency Microsoft.AspNet.Mvc 6.0.0-beta5

On my local machine, this happens automatically, and I believe this should happen automatically upon build, correct?

Anything I'm missing to get packages to restore?

Thanks,
Kirk

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Jul, 2015 01:44 AM

    Feodor Fitsner's Avatar

    Hi Kirk,

    Could you please do a small test project in public repo to play with?

  2. 2 Posted by kirk.marple on 26 Jul, 2015 02:11 AM

    kirk.marple's Avatar

    Actually, just had a bright idea, and added this after the call to 'dnvm...':

    dnu restore

    Worked like a charm, and now packages are restored. Had thought this would happen automatically.

    All good for now, thanks.

  3. Support Staff 3 Posted by Feodor Fitsner on 26 Jul, 2015 02:50 AM

    Feodor Fitsner's Avatar

    Cool, thanks for the update!

  4. 4 Posted by Petr Svihlik (r... on 27 Jul, 2015 06:53 PM

    Petr Svihlik (rocky)'s Avatar

    Thanks Kirk, it helped me a lot.
    If anyone is interested here's how I've convinced AppVeyor to build my ASP.NET 5 app running on DNX 1.0.0-beta5:
    https://github.com/petrsvihlik/WopiHost/blob/master/appveyor.yml

    Log: https://ci.appveyor.com/project/petrsvihlik/wopihost/build/1.0.40

  5. kirk.marple closed this discussion on 01 Aug, 2015 11:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac