publishing a package to Nuget.Server


Hello,

I would like to describe how to publish an existing dll to Nuget.Server through Command Prompt.


  1. Download NuGet.exe if you do not have (google it)
  2. Open Command Prompt with "Run As Administrator"
  3. We need to generate specification of the package so
    nuget.exe spec (Microsoft.Crm.Sdk.Proxy)
  4. you will see .nuspec in the path (path can be where nuget.exe exists)
  5. 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
  6. nuget package will be created under the same path of nuspec if we use default.You will see new directory.
  7. 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!

Comments

Popular posts from this blog

Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. Dynamics CRM 365 Engine version 9 - CRM User creation error

Exception caught instantiating TERADATA report server extension SQL Reporting Services

Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified at Configuration class initiation in CrmServiceHelper.cv