Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Answered

How do I test a Commerce runtime extension DLL in a development environment?

(1) ShareShare
ReportReport
Posted on by 57
Can anyone share how to test a commerce runtime extension DLL built on .NET 6? I have already installed the Commerce Scale Unit by following this link: https://learn.microsoft.com/en-us/dynamics365/commerce/dev-itpro/install-csu-dev-env. Previously, when we built the DLL on the .NET Framework, we tested the extension by copying the CommerceRuntime.dll to RetailServer => Webroot => bin => ext.
  • Verified answer
    Muhammad Khurram Profile Picture
    Muhammad Khurram 57 on at
    How do I test a Commerce runtime extension DLL in a development environment?
    Add your CommerceRuntime project, Channel Database project, and POS project to the ScaleUnit installer and build the project. Upon a successful build, it will generate a CSU Extension installer.
    Open the project folder in file explorer and you will find the CSU Extension.
    Open PowerShell in Admin mode and navigate to the path of the CSU Extension installer. Then, enter the command.
    K:\CommerceSDK\src\Extensions\ScaleUnit.Installer\bin\Debug\net472>.\ScaleUnit.Installer.exe install 
    And press enter

    After it completes successfully, navigate to the following path:
    C:\Program Files\Microsoft Dynamics 365\10.0\Commerce Scale Unit

    You will find a newly created Extension folder. Open it to view your extension's CRT details.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans