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

kpm commands install throws ArgumentNullException when package doesn't exist #1223

Closed
davidfowl opened this issue Feb 16, 2015 · 0 comments
Closed
Assignees
Milestone

Comments

@davidfowl
Copy link
Member

C:\dev\git\ProjectK\apps\WebApplication1 [master...origin/master +0 ~1 -0]> kpm commands install foo
Loaded Module: kre.clr.dll
Found DLL Export: CallApplicationMain
Information: [LoaderContainer]: Load name=Microsoft.Framework.Runtime
Information: [PathBasedAssemblyLoader]: Loaded name=Microsoft.Framework.Runtime in 3ms
  GET https://www.myget.org/F/aspnetvolatile/api/v2/FindPackagesById()?Id='foo'.
  OK https://www.myget.org/F/aspnetvolatile/api/v2/FindPackagesById()?Id='foo' 1224ms
Unable to locate the package foo
System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at Microsoft.Framework.PackageManager.InstallGlobalCommand.InstallCommands(String packageId, String appPath)
   at Microsoft.Framework.PackageManager.InstallGlobalCommand.<Execute>d__17.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.Program.<>c__DisplayClass3_13.<<Main>b__26>d.MoveNext()
C:\dev\git\ProjectK\apps\WebApplication1 [master...origin/master +0 ~1 -0]>
@davidfowl davidfowl added this to the 1.0.0-rc1 milestone Feb 16, 2015
@davidfowl davidfowl changed the title kpm commands install throws ArgumentNullException an error when package id doesn't exist kpm commands install throws ArgumentNullException when package id doesn't exist Feb 16, 2015
@davidfowl davidfowl changed the title kpm commands install throws ArgumentNullException when package id doesn't exist kpm commands install throws ArgumentNullException when package doesn't exist Feb 16, 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

2 participants