One thing Arend Jan inspired me with at NAVTechDays is to start using NUGET packages in Dynamics NAV.
What the *** is a NUGET package
From https://www.nuget.org/:
“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).
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