Hello, I would like to describe how to publish an existing dll to Nuget.Server through Command Prompt. Download NuGet.exe if you do not have (google it) Open Command Prompt with "Run As Administrator" We need to generate specification of the package so nuget.exe spec (Microsoft.Crm.Sdk.Proxy) you will see .nuspec in the path (path can be where nuget.exe exists) pack it with specification nuget pack " (Microsoft.Crm.Sdk.Proxy.nuspec) Tip : there should have lib directory where .nuspec file exists. We should put our dll under the lib directory nuget package will be created under the same path of nuspec if we use default.You will see new directory. finally publish it as seen below; nuget push (Microsoft.Crm.Sdk.Proxy.1.0.0.nupkg) -source http://localhost:9999/nuget -ApiKey Please have a look at my previous article for ApiKey that's all, Good Luck!
Showing posts with the label publish package to local Nuget.Server via command prompt in Windows Server"