Nuget

johnny_reilly's Avatar

johnny_reilly

03 Sep, 2014 10:06 AM

Hi,

I'm just trying out AppVeyor for the first time and falling at the first hurdle. I'm trying to do a build for this project:

https://github.com/johnnyreilly/Proverb

However, it looks like it isn't picking up the NuGet packages as I'm getting errors like this:

C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "EntityFramework". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

I have all the packages.config files in the various projects but it looks like they are not being detected / used. Am I doing something wrong? This is my build:

https://ci.appveyor.com/project/JohnReilly/proverb

  1. 1 Posted by johnny_reilly on 03 Sep, 2014 10:18 AM

    johnny_reilly's Avatar

    Actually - please feel free to close this as I found the answer here: http://www.appveyor.com/docs/nuget

    I needed this:

    nuget restore <solution.sln>

  2. johnny_reilly closed this discussion on 03 Sep, 2014 12:31 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