question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

latest cli doesnt restore f# project

See original GitHub issue

Steps to reproduce

dotnet new --lang f#
dotnet restore

Also fork this repo:

https://github.com/enricosada/fsharp-dotnet-cli-samples both appveyour and travis

Expected behavior

Restore successful

Actual behavior

Restore failed

/cc @brthor

log  : Restoring packages for e:\temp\uiop\project.json...
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.netcore.app/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.netcore.app/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.netcore.app/index.json 206ms
info :   NotFound https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/index.json 609ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.netcore.app/index.json 758ms
error: Unable to resolve 'Microsoft.NETCore.App (>= 1.0.0-rc2-3002320)' for '.NETStandard,Version=v1.5'.
log  : Restoring packages for tool 'dotnet-compile-fsc' in e:\temp\uiop\project.json...
info :   GET https://api.nuget.org/v3-flatcontainer/dotnet-compile-fsc/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/dotnet-compile-fsc/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/dotnet-compile-fsc/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/dotnet-compile-fsc/index.json 90ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/dotnet-compile-fsc/index.json 261ms
info :   NotFound https://api.nuget.org/v3-flatcontainer/dotnet-compile-fsc/index.json 907ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/dotnet-compile-fsc/1.0.0-rc2-002325/dotnet-compile-fsc.1.0.0-rc2-002325.nupkg
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/dotnet-compile-fsc/1.0.0-rc2-002325/dotnet-compile-fsc.1.0.0-rc2-002325.nupkg 456ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.projectmodel/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.projectmodel/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.projectmodel/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.compiler.common/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.compiler.common/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.compiler.common/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.cli.utils/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.cli.utils/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.cli.utils/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.projectmodel/index.json 112ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.cli.utils/index.json 156ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.compiler.common/index.json 166ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.projectmodel/index.json 308ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.projectmodel/1.0.0-rc2-002325/microsoft.dotnet.projectmodel.1.0.0-rc2-002325.nupkg
info :   NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.projectmodel/index.json 517ms
info :   NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.cli.utils/index.json 499ms
info :   NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.compiler.common/index.json 510ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.projectmodel/1.0.0-rc2-002325/microsoft.dotnet.projectmodel.1.0.0-rc2-002325.nupkg 393ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.compiler.common/index.json 749ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.compiler.common/1.0.0-rc2-002325/microsoft.dotnet.compiler.common.1.0.0-rc2-002325.nupkg
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.cli.utils/index.json 762ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.cli.utils/1.0.0-rc2-002325/microsoft.dotnet.cli.utils.1.0.0-rc2-002325.nupkg
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.compiler.common/1.0.0-rc2-002325/microsoft.dotnet.compiler.common.1.0.0-rc2-002325.nupkg 393ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.codeanalysis.csharp/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.codeanalysis.csharp/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.files/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.files/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.files/index.json
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.cli.utils/1.0.0-rc2-002325/microsoft.dotnet.cli.utils.1.0.0-rc2-002325.nupkg 373ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.codeanalysis.csharp/index.json 93ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.files/index.json 108ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.csharp/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.csharp/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.csharp/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/system.dynamic.runtime/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.dynamic.runtime/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.dynamic.runtime/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/system.runtime.loader/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.runtime.loader/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.runtime.loader/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/system.runtime.serialization.primitives/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.runtime.serialization.primitives/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.runtime.serialization.primitives/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/system.security.cryptography.algorithms/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.security.cryptography.algorithms/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.security.cryptography.algorithms/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/system.threading.thread/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.threading.thread/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.threading.thread/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/system.xml.xdocument/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.xml.xdocument/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.xml.xdocument/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencymodel/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.extensions.dependencymodel/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.dependencymodel/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.filesystemglobbing/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.extensions.filesystemglobbing/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.filesystemglobbing/index.json
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.codeanalysis.csharp/index.json 198ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.csharp/index.json 94ms
info :   GET https://api.nuget.org/v3-flatcontainer/system.diagnostics.process/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.diagnostics.process/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.diagnostics.process/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.runtime.loader/index.json 103ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.dynamic.runtime/index.json 105ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.platformabstractions/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.extensions.platformabstractions/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.platformabstractions/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.runtime.serialization.primitives/index.json 152ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.security.cryptography.algorithms/index.json 164ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.threading.thread/index.json 158ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.csharp/index.json 188ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.extensions.dependencymodel/index.json 154ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.xml.xdocument/index.json 159ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.diagnostics.process/index.json 106ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.extensions.platformabstractions/index.json 94ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.extensions.filesystemglobbing/index.json 197ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.filesystemglobbing/index.json 211ms
info :   GET https://api.nuget.org/v3-flatcontainer/system.reflection.metadata/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.reflection.metadata/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.reflection.metadata/index.json
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.diagnostics.process/index.json 194ms
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/index.json 514ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.reflection.metadata/index.json 93ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/2.0.0-beta1/microsoft.codeanalysis.csharp.2.0.0-beta1.nupkg
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.reflection.metadata/index.json 186ms
info :   NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.files/index.json 654ms
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.csharp/index.json 535ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.dynamic.runtime/index.json 533ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.runtime.loader/index.json 532ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.runtime.serialization.primitives/index.json 553ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.threading.thread/index.json 558ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.xml.xdocument/index.json 561ms
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencymodel/index.json 544ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.security.cryptography.algorithms/index.json 587ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.diagnostics.process/index.json 512ms
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.extensions.filesystemglobbing/index.json 571ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.files/index.json 767ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.files/1.0.0-rc2-002325/microsoft.dotnet.files.1.0.0-rc2-002325.nupkg
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.extensions.platformabstractions/index.json 529ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.dynamic.runtime/index.json 739ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.security.cryptography.algorithms/index.json 727ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.runtime.serialization.primitives/index.json 743ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.runtime.loader/index.json 749ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.threading.thread/index.json 738ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.xml.xdocument/index.json 749ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.reflection.metadata/index.json 518ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.dependencymodel/index.json 805ms
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/2.0.0-beta1/microsoft.codeanalysis.csharp.2.0.0-beta1.nupkg 488ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.platformabstractions/index.json 745ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.files/1.0.0-rc2-002325/microsoft.dotnet.files.1.0.0-rc2-002325.nupkg 238ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.dependencymodel/1.0.0-rc2-002325/microsoft.extensions.dependencymodel.1.0.0-rc2-002325.nupkg
info :   GET https://api.nuget.org/v3-flatcontainer/system.linq.expressions/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.linq.expressions/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.linq.expressions/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.linq.expressions/index.json 125ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.extensions.dependencymodel/1.0.0-rc2-002325/microsoft.extensions.dependencymodel.1.0.0-rc2-002325.nupkg 230ms
info :   GET https://api.nuget.org/v3-flatcontainer/system.diagnostics.debug/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.diagnostics.debug/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.diagnostics.debug/index.json
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.internalabstractions/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.internalabstractions/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.internalabstractions/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/system.diagnostics.debug/index.json 109ms
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.dotnet.internalabstractions/index.json 106ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.diagnostics.debug/index.json 194ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.internalabstractions/index.json 208ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/system.linq.expressions/index.json 480ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.internalabstractions/1.0.0-rc2-002325/microsoft.dotnet.internalabstractions.1.0.0-rc2-002325.nupkg
info :   OK https://api.nuget.org/v3-flatcontainer/system.linq.expressions/index.json 509ms
info :   OK https://api.nuget.org/v3-flatcontainer/system.diagnostics.debug/index.json 518ms
info :   NotFound https://api.nuget.org/v3-flatcontainer/microsoft.dotnet.internalabstractions/index.json 499ms
info :   OK https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.dotnet.internalabstractions/1.0.0-rc2-002325/microsoft.dotnet.internalabstractions.1.0.0-rc2-002325.nupkg 454ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.common/index.json
info :   GET https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.codeanalysis.common/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.codeanalysis.common/index.json
info :   NotFound https://myget-2e16.kxcdn.com/artifacts/fsharp-daily/nuget/v3/flatcontainer/microsoft.codeanalysis.common/index.json 87ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-cli/nuget/v3/flatcontainer/microsoft.codeanalysis.common/index.json 178ms
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.common/index.json 473ms
info :   GET https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.common/2.0.0-beta1/microsoft.codeanalysis.common.2.0.0-beta1.nupkg
info :   OK https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.common/2.0.0-beta1/microsoft.codeanalysis.common.2.0.0-beta1.nupkg 489ms
error: Unable to resolve 'Microsoft.NETCore.App (>= 1.0.0-rc2-3002325)' for '.NETStandardApp,Version=v1.5'.
error: Unable to resolve 'Microsoft.Extensions.PlatformAbstractions (>= 1.0.0-rc2-20459)' for '.NETStandardApp,Version=v1.5'.
error: Unable to resolve 'Microsoft.Extensions.FileSystemGlobbing (>= 1.0.0-rc2-20459)' for '.NETStandardApp,Version=v1.5'.
error: Unable to resolve 'System.Runtime.Serialization.Primitives (>= 4.1.1-rc2-24008)' for '.NETStandardApp,Version=v1.5'.
error: Unable to resolve 'System.Reflection.Metadata (>= 1.3.0-rc2-24008)' for '.NETStandardApp,Version=v1.5'.
warn : Detected package downgrade: System.Dynamic.Runtime from 4.0.11-rc3-23829 to 4.0.11-rc2-24008 
warn :  dotnet-compile-fsc (>= 1.0.0) -> Microsoft.DotNet.ProjectModel (>= 1.0.0-rc2-002325) -> Microsoft.CSharp (>= 4.0.1-rc2-24008) -> System.Dynamic.Runtime (>= 4.0.11-rc3-23829) 
warn :  dotnet-compile-fsc (>= 1.0.0) -> Microsoft.DotNet.ProjectModel (>= 1.0.0-rc2-002325) -> System.Dynamic.Runtime (>= 4.0.11-rc2-24008)
info : Committing restore...
log  : Writing lock file to disk. Path: e:\temp\uiop\project.lock.json
log  : e:\temp\uiop\project.json
log  : Restore failed in 12475ms.

Errors in e:\temp\uiop\project.json
    Unable to resolve 'Microsoft.NETCore.App (>= 1.0.0-rc2-3002320)' for '.NETStandard,Version=v1.5'.
    Unable to resolve 'Microsoft.NETCore.App (>= 1.0.0-rc2-3002325)' for '.NETStandardApp,Version=v1.5'.
    Unable to resolve 'Microsoft.Extensions.PlatformAbstractions (>= 1.0.0-rc2-20459)' for '.NETStandardApp,Version=v1.5'.
    Unable to resolve 'Microsoft.Extensions.FileSystemGlobbing (>= 1.0.0-rc2-20459)' for '.NETStandardApp,Version=v1.5'.
    Unable to resolve 'System.Runtime.Serialization.Primitives (>= 4.1.1-rc2-24008)' for '.NETStandardApp,Version=v1.5'.
    Unable to resolve 'System.Reflection.Metadata (>= 1.3.0-rc2-24008)' for '.NETStandardApp,Version=v1.5'.

NuGet Config files used:
    e:\temp\uiop\NuGet.Config
    C:\Users\e.sada\AppData\Roaming\NuGet\NuGet.Config

Feeds used:
    https://api.nuget.org/v3/index.json
    https://www.myget.org/F/fsharp-daily/api/v3/index.json
    https://dotnet.myget.org/F/dotnet-cli/api/v3/index.json

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-rc2-002320)

Product Information:
 Version:     1.0.0-rc2-002320
 Commit Sha:  eb793c5cf8

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
onatmcommented, Apr 14, 2016

you can use the following nuget.config

https://raw.githubusercontent.com/dotnet/cli/584fdea49ee72834b02c003b48dd5d1a3a76cb28/src/dotnet/commands/dotnet-new/CSharp_Console/NuGet.Config

for me it doesn’t make sense to remove nuget.config before RC2 packages is published to nuget.

2reactions
chrismcvcommented, Apr 9, 2016

this worked for me…

  <configuration>
   <packageSources>
       <!--To inherit the global NuGet package sources remove the <clear/> line below -->
    <clear />
    <add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
    <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
   </packageSources>
 </configuration>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Assets file project.assets.json not found. Run a NuGet ...
To fix this error from Tools > NuGet Package Manager > Package Manager Console simply run: dotnet restore. The error occurs because the ......
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
Use NuGet Package Restore to download them. The missing file is {name}. This error occurs when you attempt to build a project that...
Read more >
Error NETSDK1004 occurs when building any C++/CLI ...
error NETSDK1004: Assets file 'obj\project.ass ets.json' not found. Run a NuGet package restore to generate this file.
Read more >
dotnet restore command - .NET CLI
Disables restoring multiple projects in parallel. --force. Forces all dependencies to be resolved even if the last restore was successful.
Read more >
Git - git-restore Documentation
Restore specified paths in the working tree with some contents from a restore source. If a path is tracked but does not exist...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found