How to set "Embed Interop Type" to 'True' in Byldan dependancy dll

Jul 1, 2013 at 12:38 PM
Hi,

This is the first time I am working on Byldan.
Our project compiles perfectly fine in .Net IDE. But when i try to compile it using the Byldan, it displays the below error.
IbMail-COM\IbMail\target\build-source\SMTP.cs(144,67): error CS1061: 'object' does not contain a definition for 'Value' and no extension method  'Value' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
The issue is with the DLL "Interop.VBA.dll" which is used as reference in our project.
On further investigation I found that the issue is related to the "Embed Interop Type".
In the .Net IDE it is set to true. When I update it to false in .Net IDE, I get the same above error.

My question is how to set the "Embed Interop Type" in Byldan to true.
Below is my sample entry in pom.xml file
   <dependency>
      <groupId>VOS.Platform.Brokers</groupId>
      <artifactId>Interop.VBA</artifactId>
      <version>0.1</version>
      <type>dotnet:library</type>
    </dependency>
Any suggestions would be greatly appreciated

Thank you
Achyuth