I need to incorporate a reference to a winforms project.
I clicked on References, I selected the reference and clicked on properties, there I changed the Embed Interop Types property to true.
Compiling the solution gives the following error:
Severity Code Description Project File Line Suppression State Error CS1759 Can not embed interop types from assembly 'Berechit.Data, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null' because it is missing either the 'System.Runtime.InteropServices.ImportedFromTypeLibAttribute' attribute or the 'System.Runtime. InteropServices.PrimaryInteropAssemblyAttribute 'attribute. AppTeste C: \ project \ AppTeste \ CSC 1 Active