Excel get_Range missing when interop assembly is embedded in .NET 4.0
- by mikemay
I build an assembly referencing a COM interop DLL. If I embed the COM interop types by setting Embed Interop Types to True in the Reference's properties (VS2010), at run-time an error occurs "object does not contain a definition for get_Range". If COM interop types are not embedded then no error occurs.
Does anyone know why a particular method,…