Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans