'nuget' is not recognized but other nuget commands working

前端 未结 9 1436
走了就别回头了
走了就别回头了 2020-12-02 10:41

I am trying to create a nuget package using http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#From_a_convention_based_working_directory as a ref

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 11:30

    You can also try setting the system variable path to the location of your nuget exe and restarting VS.

    1. Open your system PATH variable and add the location of your nuget.exe (for me this is: C:\Program Files (x86)\NuGet\Visual Studio 2013)
    2. Restart Visual Studio

    I would have posted this as a comment to your answer @done_merson but I didn't have the required reputation to do that.

提交回复
热议问题