dotnet restore exited with code 1

tomasz's Avatar

tomasz

31 Aug, 2017 11:18 AM

Please see this build where I run dotnet restore Anotar.NetStandard.sln. It works locally and it used to work previously on AppVeyor (different AV project). Recently though, as you can see, the build fails and last message reads:

Command exited with code 1

Is this really the dotnet command that failed? Its output doesn't indicate any problems.

Please help,
Tomasz

  1. 1 Posted by Ilya Finkelshte... on 31 Aug, 2017 07:45 PM

    Ilya Finkelshteyn's Avatar

    this is the problem:

    C:\projects\anotar\CustomTests\CustomTests.csproj : error NU1605: Detected package downgrade: FodyCecil from 2.0.9 to 2.0.8. Reference the package directly from the project to select a different version.  [C:\projects\anotar\Anotar.NetStandard.sln]
    C:\projects\anotar\CustomTests\CustomTests.csproj : error NU1605:  CustomTests (>= 1.0.0) -> Anotar.Custom.Fody (>= 1.0.0) -> FodyCecil (>= 2.0.9)  [C:\projects\anotar\Anotar.NetStandard.sln]
    C:\projects\anotar\CustomTests\CustomTests.csproj : error NU1605:  CustomTests (>= 1.0.0) -> FodyCecil (>= 2.0.8) [C:\projects\anotar\Anotar.NetStandard.sln]
    
  2. 2 Posted by tomasz on 01 Sep, 2017 05:49 AM

    tomasz's Avatar

    Oh right, I noticed that locally but to wasn't interfering with the build.

    Thank you

  3. tomasz closed this discussion on 01 Sep, 2017 05:49 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