Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>