Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Including unmanaged dl...
Commerce forum
Suggested answer

Including unmanaged dll or other files as part of Hardware extension

Posted on by 103

As part of the new hardware extension package development i want to include some files like html and unmanaged dlls. I am including it as resources and trying to create the files when the hardware  startion is called. This works perfectly when debugged in development since the files are created in the debug folder. Once we deploy this to POS systems, the user doesn't have the permission to the POS folder to create the files. Is there any other way to copy the files or we have to tell the Clients to provide required permission on the folder.

  • Suhail Ismail Profile Picture
    Suhail Ismail 103 on at
    RE: Including unmanaged dll or other files as part of Hardware extension

    If unmanaged dlls are added as embedded resource then it will be added in the extension configuration and will try to load it and will fail to start. And for other files other than dll it is not getting copied automatically. Are we allowed to make changes to program.cs ?

  • Suggested answer
    Charlotte X Profile Picture
    Charlotte X on at
    RE: Including unmanaged dll or other files as part of Hardware extension

    Hi Suhail Ismail,

    Please review the following document:

    Integrate the POS with a new hardware device and generate the extension installer - Commerce | Dynamics 365 | Microsoft Docs

    Best Regards,

    Charlotte Xu

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans