I have installed the NuGet.Tools.2013.vsix on my VS2013. And I like create a nuget package from Manager Console, but when I try I get a mensagem:
The term 'nuget' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I don't know what I do wrong.
Is possible use the Manager Console to create a package, or I need use other stuff.
Open the project/solution in Visual Studio, and open the console using the Tools > NuGet Package Manager > Package Manager Console command.
NuGet Package ManagerSelect Project > Manage NuGet Packages. In the NuGet Package Manager page, choose nuget.org as the Package source. From the Browse tab, search for Newtonsoft.Json, select Newtonsoft.Json in the list, and then select Install. If you're prompted to verify the installation, select OK.
Not sure I fully understand the question, but if you are using the Package Manager Console in Visual Studio then you don't need to start commands with nuget in that window. I typically use the Package Manager Console for installing/updating packages for my current solution. For example:
Install-Package Nunit
Usually you create your packages by calling nuget from the normal Windows command line with something like:
nuget pack Library.csproj
See http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package for more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With