Installing NUGET Packages for Dynamics NAV

One thing Arend Jan inspired me with at NAVTechDays is to start using NUGET packages in Dynamics NAV.

What the *** is a NUGET package


“NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.”

So Microsoft Dynamics NAV with C/AL is part of the Microsoft Development Platform. (Ugh Ugh Ugh). So how do we use it.

Arend Jan Explains:

Visual Studio

In VS we have to create an empty project. Just create a C# Console project.

Open the package manager console View -> Other Windows -> Package Manager Console


In the window we get now we copy and paste the text from the NUGET page. In my case I want to use a PDF package to see if I can print PDF from NAV. (You can guess my next blogpost).

Nuget Install Package

This is what we should have in the window after executing the command:


So we can go to our project folder and get the DLL, and place it in the Dynamics NAV Add-In folder.


And Voila


Now let me see if I can get this thing to work…

1 Comment

Leave a Comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.