"dotnet restore" fails with "Unable to locate Dependency NETStandard.Library" message

Kyungjae Park

I've installed latest .NET Core on Mac OS X, and followed the tutorial on

https://dotnet.github.io/getting-started/

First I created a sample project with 'dotnet new', then ran the command 'dotnet restore'. It failed with following messages:

Microsoft .NET Development Utility CoreClr-x64-1.0.0-rc1-16231

  CACHE https://api.nuget.org/v3/index.json
Restoring packages for /Users/cookie/Documents/Github/t/project.json
  GET https://api.nuget.org/v3-flatcontainer/netstandard.library/index.json
  NotFound https://api.nuget.org/v3-flatcontainer/netstandard.library/index.json 2388ms
Unable to locate Dependency NETStandard.Library >= 1.0.0-rc2-23616
Writing lock file /Users/cookie/Documents/Github/t/project.lock.json
Restore complete, 2759ms elapsed

Errors in /Users/cookie/Documents/Github/t/project.json
    Unable to locate Dependency NETStandard.Library >= 1.0.0-rc2-23616

Feeds used:
    https://api.nuget.org/v3-flatcontainer/

I got 404 error on

https://api.nuget.org/v3-flatcontainer/netstandard.library/index.json

I tried the same approach on Windows, which also fails. Any help would be appreciated!

Edit : It seems it was a bug, which was discussed in https://github.com/dotnet/cli/issues/535 . Latest installation packages now generates NuGet.config, and successfully retrieves NETStandard.Library from myget.

Victor Hurdugaci

NETStandard.Library hasn't been yet released on NuGet. Add

<add key="DotNet-Core" value="https://myget.org/f/dotnet-core/api/v3/index.json" />

to your NuGet.config file.

Collected from the Internet

Please contact debug[email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

"dotnet restore" command fails with Restore failed Response is not a valid NuGet v2 service response

From Dev

"dotnet restore" command fails with Restore failed Response is not a valid NuGet v2 service response

From Dev

Dotnet restore error

From Java

'dotnet restore' vs. 'nuget restore' with TeamCity

From Java

dotnet restore warning NU1701

From Dev

Where is the default output folder for dotnet restore?

From Dev

dotnet restore - "not compatible with win7"

From Dev

Actor fails to recognize message

From Dev

Alert message fails to appear

From Dev

TeamCity NetCore 'dotnet restore' Error Value cannot be null

From Dev

dotnet restore for package System.Diagnostics.FileVersionInfo in .csproj

From Dev

dotnet restore error on centos linux: access to path denied

From Dev

Gulp fails with message: object expected

From Dev

PocketSocket fails to process incoming message

From Dev

Outlook fails to recognize an ics message

From Dev

Passing on error message if AUTOLOAD fails

From Dev

Python script to encrypt a message fails

From Dev

Outlook fails to recognize an ics message

From Dev

transformation fails without error message

From Dev

PHP GnuPG - Signing message fails

From Dev

How to use dotnet restore on Visual Studio Team Services Hosted Build Agent with VSTS Nuget feed

From Dev

.net core: Why dotnet restore generates a "lock" file, what's the usage of it?

From Dev

dotnet restore cmd failing - error MSB4019 - \DotNet\Microsoft.DotNet.Props file missing #5175

From Dev

Building dotnet core: Please run "dotnet restore" to generate a new lock file

From Dev

Unable to access private VSTS package feed from build using dotnet restore

From Dev

Jenkins build fails without error message

From Dev

MFC Window toolbar creation fails with no error message

From Dev

cpanm fails to install module; gives usage message

From Dev

How to print a message when an assert fails, in Dart?

Related Related

  1. 1

    "dotnet restore" command fails with Restore failed Response is not a valid NuGet v2 service response

  2. 2

    "dotnet restore" command fails with Restore failed Response is not a valid NuGet v2 service response

  3. 3

    Dotnet restore error

  4. 4

    'dotnet restore' vs. 'nuget restore' with TeamCity

  5. 5

    dotnet restore warning NU1701

  6. 6

    Where is the default output folder for dotnet restore?

  7. 7

    dotnet restore - "not compatible with win7"

  8. 8

    Actor fails to recognize message

  9. 9

    Alert message fails to appear

  10. 10

    TeamCity NetCore 'dotnet restore' Error Value cannot be null

  11. 11

    dotnet restore for package System.Diagnostics.FileVersionInfo in .csproj

  12. 12

    dotnet restore error on centos linux: access to path denied

  13. 13

    Gulp fails with message: object expected

  14. 14

    PocketSocket fails to process incoming message

  15. 15

    Outlook fails to recognize an ics message

  16. 16

    Passing on error message if AUTOLOAD fails

  17. 17

    Python script to encrypt a message fails

  18. 18

    Outlook fails to recognize an ics message

  19. 19

    transformation fails without error message

  20. 20

    PHP GnuPG - Signing message fails

  21. 21

    How to use dotnet restore on Visual Studio Team Services Hosted Build Agent with VSTS Nuget feed

  22. 22

    .net core: Why dotnet restore generates a "lock" file, what's the usage of it?

  23. 23

    dotnet restore cmd failing - error MSB4019 - \DotNet\Microsoft.DotNet.Props file missing #5175

  24. 24

    Building dotnet core: Please run "dotnet restore" to generate a new lock file

  25. 25

    Unable to access private VSTS package feed from build using dotnet restore

  26. 26

    Jenkins build fails without error message

  27. 27

    MFC Window toolbar creation fails with no error message

  28. 28

    cpanm fails to install module; gives usage message

  29. 29

    How to print a message when an assert fails, in Dart?

HotTag

Archive