Build failing because NuGet package (StyleCop.Analyzers) it not downloaded

Nikolay okstov's Avatar

Nikolay okstov

22 Aug, 2015 03:10 PM

Build link: https://ci.appveyor.com/project/NikolayIT/santasegameengine/build/1.0.5
I am targeting VS 2015

The exact message is:
CSC : error CS0006: Metadata file '..\packages\StyleCop.Analyzers.1.0.0-beta008\analyzers\dotnet\cs\StyleCop.Analyzers.dll' could not be found [C:\projects\santasegameengine\Source\Santase.Logic\Santase.Logic.csproj]

Can anyone help me resolving this?

  1. Support Staff 1 Posted by Feodor Fitsner on 22 Aug, 2015 06:02 PM

    Feodor Fitsner's Avatar

    Looks like you should restore nuget packages before the build. Add this to "Before build script":

    nuget restore Source\Santase.sln
    
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.

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