web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Retail SDK: "Cannot find the interop type" on a refresh installed SDK

(0) ShareShare
ReportReport
Posted on by 5

I have been trying to figure out why I am receiving this error, but failed so far. I just installed a fresh new AX Retail SDK on my machine plus a POS system for testing. When I try to compile the SDK out of the box, I get the following error:

Cannot find the interop type that matches the embedded interop type 'Microsoft.Dynamics.Retail.Pos.Contracts.DataEntity.IRetailTransactionV6'. Are you missing an assembly reference?

I have tried to go through all my project in the SDK solution, but I can't figure out exactly which DLL is causing the problem. My primary suspects is either Transaction.DLL or the Microsoft.Dynamics.Retail.Pos.Contracts dll.

I found out that it is a problem when working with the IRetailTransaction interface and/or RetailTransaction member. Removing these from the code, removes the error message. But I need to look into these members/interfaces. LSRetailPosis.Transaction.CustomerOrderType is also affected by this.

Microsoft had a blog entry on how to trouble shoot it here: http://blogs.msdn.com/b/vbteam/archive/2010/06/11/troubleshooting-errors-when-embedding-type-information-doug-rothaus.aspx. This make it sound like I am missing a Interop type, but as far as a know my Extension does not need any of those. I have tried various Embed Interop Types settings (true/false), with no result.

I did however had another older SDK installed, however after testing on a brand new machine and getting the same error I rule that out as an issue.

I also tried to clean and remove build folders and files from the projects but with no result.

And that is as far as I have gotten. Anyone have ideas how I can fix this issue?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    faheem Ahmed Profile Picture
    450 on at

    I faced  same error and below are my findings.

    1:SDK installed version does not match with update you had on Ax,Means if your Ax has R3-CU8 install then open SDK version of CU8 which should be there along with default Retail SDK folder.

    2:If you still unable to bypass this error go to reference folder in visual studio and right click on Microsoft.Dynamics.Retail.Pos.Contracts reference  select properties and interop type to "false".

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans