Unable to Copy Third Party Dll's with folder in Store Commerce Hardware Station #51
-
We have integrated third party payment connector in the Store Commerce. In the third-party payment connector we have x86, x64 com dll's. We have added that folder in payment connector but it's copying to Commerce store hardware station folder. C:\Program Files\Microsoft Dynamics 365\10.0\Store Commerce\Extensions**\HardwareStation Current Expected: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hello @sanjeevthasale - I've tested with other extensions and confirmed that the folder structure as set up in the extension solution should be maintained when copying the .dll's to the extension folder in Store Commerce. Can you provide a screenshot of how you've added the x86 and x64 folders for the payment connector .dll's into your extension project? That may point us in the right direction. |
Beta Was this translation helpful? Give feedback.
-
Hi Saleem,
Could you please share screenshot of x86 and x64 folders.
…On Sat, Jun 10, 2023 at 2:26 AM Matt Dyke ***@***.***> wrote:
Hello @sanjeevthasale <https://github.com/sanjeevthasale> - I've tested
with other extensions and confirmed that the folder structure as set up in
the extension solution should be maintained when copying the .dll's to the
extension folder in Store Commerce.
Can you provide a screenshot of how you've added the x86 and x64 folders
for the payment connector .dll's into your extension project? That may
point us in the right direction.
—
Reply to this email directly, view it on GitHub
<#51 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABON4FD4AR4BYVADGA46HQDXKOEXBANCNFSM6AAAAAAXVY4HEM>
.
You are receiving this because you were mentioned.Message ID:
<microsoft/Dynamics365Commerce.
***@***.***>
--
Thanks & Regards,
Sanjeev Thasale
|
Beta Was this translation helpful? Give feedback.
-
@madyke can you please take a look at this issue and provide help on it? |
Beta Was this translation helpful? Give feedback.
Hi @zhangguanghuib - it looks like the DLLs are not being Content Included, which is why they aren't being copied to the installed extension folder. In the .csproj file for the extension project that is supposed to include the files, the resources should be defined with
<Content Include="path_to_resource_to_include">
.So for the sample you provided, you just need to change the
ItemGroup
where the resources are defined inSAG.HardwareStation.PaymentTerminal.csproj
starting on line 20: