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

Complex Query in QueryExpression in Microsoft CRM 2011

Exception caught instantiating TERADATA report server extension SQL Reporting Services

Microsoft Power Apps Portal integration with Dynamics 365 CE On-Premise - Step By Step Guide