I added "Marcos Melis Filehelpers" through Nuget, and I get a warning that I don’t understand, what does it mean?

I basically added Marcos Meli FileHelpers to my Visual Studio project, and I get the following warning:

A link was created to the built-in assembly interop 'x: \ y \ packages \ FileHelpers.2.0.0.0 \ lib \ Interop.Excel.dll' due to an indirect reference to this assembly created by the assembly 'x: \ y \ packages \ FileHelpers. 2.0.0.0 \ Lib \ FileHelpers.ExcelStorage.dll. Consider changing the "Insert Interaction Types" property on any assembly.

What does this mean and what do I need to do (if anything, this is just a warning, not an error) to fix this? I am using resharper, I'm not sure if this is a flashing warning or a Visual Studio warning.

thank

+3
source share
1 answer

From MSDN :

You added a reference to the assembly (assembly1), which has the Insert Interop Types property set to True. This instructs the compiler to embed interop-type information from this assembly. However, the compiler cannot insert information of type interop from this assembly because the other assembly that you referenced (assembly2) also references the assembly (assembly1) and has built-in interaction types. The property is set to False.

, Microsoft.Office.Interop.Excel . . Embed Interop, true - false .

+7

All Articles