Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

"dnu install" regression #2254

Closed
victorhurdugaci opened this issue Jul 13, 2015 · 4 comments
Closed

"dnu install" regression #2254

victorhurdugaci opened this issue Jul 13, 2015 · 4 comments
Assignees
Milestone

Comments

@victorhurdugaci
Copy link
Contributor

Run this on a project:

dnu install Microsoft.AspNet.Hosting 1.0.0-beta5 --source "https://www.myget.org/F/aspnetvnext/api/v2" --source "https://nuget.org/api/v2/" --no-cache

Result:

Microsoft .NET Development Utility CLR-x86-1.0.0-beta6-12208

  GET https://www.myget.org/F/aspnetvnext/api/v2/
  OK https://www.myget.org/F/aspnetvnext/api/v2/ 843ms
  GET https://nuget.org/api/v2/
  OK https://nuget.org/api/v2/ 691ms
  GET https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?id='Microsoft.AspNet.Hosting'
  GET https://nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.Hosting'
  OK https://nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.Hosting' 218ms
  OK https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?id='Microsoft.AspNet.Hosting' 892ms
Microsoft.AspNet.Hosting.1.0.0-beta5 was added to project.json.
System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.Path.GetFullPath(String path)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__1`1.MoveNext()
   at Microsoft.Framework.PackageManager.RestoreCommand.<Execute>d__68.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.InstallCommand.<ExecuteCommand>d__7.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.InstallConsoleCommand.<>c__DisplayClass0_0.<<Register>b__1>d.MoveNext()
@muratg
Copy link
Contributor

muratg commented Jul 14, 2015

@ChengTian any ideas?

@ChengTian
Copy link
Contributor

Looks like a regression. Investigating.

@ChengTian
Copy link
Contributor

This regression makes dnu install unusable, should be fixed ASAP.

@ChengTian ChengTian added the bug label Jul 14, 2015
@ChengTian ChengTian added this to the 1.0.0-beta6 milestone Jul 14, 2015
@ChengTian ChengTian self-assigned this Jul 14, 2015
@muratg
Copy link
Contributor

muratg commented Jul 14, 2015

Agreed

@ChengTian ChengTian changed the title Dnu install fails "dnu install" regression Jul 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants