compile c# program with embedded dll

1.1k Views Asked by At

I want to ask a question about AdvancedDataGridView.dll. When I want to compile my program using AdvancedDataGridView.dll as embedded resource,

enter image description here

I get that error

Error 2 Cannot embed interop types from assembly 'c:\Users\baristas\Desktop\AdvancedDataGridView.dll' because it is missing either the 'ImportedFromTypeLibAttribute' attribute or the 'PrimaryInteropAssemblyAttribute' attribute
c:\Users\baristas\Desktop\AdvancedDataGridView.dll Analytics

How can I fix it?

Thx.

0

There are 0 best solutions below