-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
I wanted to try out sample project to understand coreCLR better and learn abour DNX family.
I tried this link https://github.com/dotnet/coreclr/blob/master/Documentation/get-dotnetcore-dnx-windows.md to get started and followed everything as mentioned on my windows machine (8.1, x64)
When I run "dnu restore", I get the following error -
Restoring packages for D:\work\labs\coreCLR\firstAppUsingCoreclr\project.json
GET https://www.nuget.org/api/v2/FindPackagesById()?id='System.Console'.
System.IO.FileNotFoundException: The local package source D:\Work\Grapine\Products\ErrorTracking\raygun4net-master\packages doesn't exist
File name: 'D:\Work\Grapine\Products\ErrorTracking\raygun4net-master\packages'
at Microsoft.Framework.PackageManager.Restore.NuGet.PackageFolder.FindPackagesByIdAsync(String id)
at Microsoft.Framework.PackageManager.RemoteWalkProvider.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreOperations.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.d__70.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.d__69.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.<>c__DisplayClass68_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Framework.PackageManager.RestoreCommand.d__68.MoveNext()
Restore failed
The local package source D:\Work\Grapine\Products\ErrorTracking\raygun4net-master\packages doesn't exist
Note here - my project.json looks exactly same as mentioned in the github link but its trying to find packages in one of my existing project which doesn't have any relation to it.
I've tried searching on this but haven't found so posting it here.
Here are some more info -
"dnu list" gives this output -
Listing dependencies for firstAppUsingCoreclr (D:\work\labs\coreCLR\firstAppUsingCoreclr\project.json)
[Target framework DNX,Version=v4.5.1 (dnx451)]
Framework references:
framework/Microsoft.CSharp 4.0.0.0
framework/mscorlib 4.0.0.0
framework/System 4.0.0.0
framework/System.Core 4.0.0.0
[Target framework DNXCore,Version=v5.0 (dnxcore50)]
references:
System.Console 4.0.0-beta - Unresolved
Command dnvm gives this output -
.NET Version Manager v1.0.0-beta5-10375
By Microsoft Open Technologies, Inc.
usage: dnvm [<arguments...>]
Current feed settings:
Default Stable: https://www.nuget.org/api/v2
Default Unstable: https://www.myget.org/F/aspnetvnext/api/v2
Current Stable Override: