How do I download and use DotNet Packages in BC25

mart
mart Member Posts: 1
I need to transliterate non-latin characters and found a DotNet package in the package manager NuGet. I don't know how to download it from the command line and make a proper dotnet project yet, but I can download it manually, which gets me a ".nupkg" file. Is this usable in my AL project? Do I just put the it in the ".netpackages" folder?

Answers

  • Miklos_Hollender
    Miklos_Hollender Member Posts: 1,629

    Can't you do this outside BC? For example, if you are importing text files and need to do this, the files can saved in a temporary folder, a PowerShell script running every 5 minutes with Task Scheduler can do this and then move the file to the folder BC will import it from.

  • RockWithNAV
    RockWithNAV Member Posts: 1,195

    Once you have the dotnet package ready, do you have the code or you know that piece of code will do the job?

    Normally we put the dll in the package folder.

  • BennyVL
    BennyVL Member Posts: 11
    edited 2025-12-08

    A ".nupkg" file can be decompressed by 7Zip. You can then add the dll to your .netPackages and dotnet.al but the story doesn't end there…

    If you're running Saas, then the story ends here… and you will need to find/create an Azure Function

    You need to add the dll also to your Add-Ins on the BC Server(s), change your extension to "OnPremise" and the most important… Are you allowed to do this. New licenses need to have some extra granules (that needs to be paid) to make OnPremise-development-mode possible.