Basically I added Marcos Meli’s FileHelpers to my Visual Studio Project and I am getting the following warning:
A reference was created to embedded interop assembly ‘x:\y\packages\FileHelpers.2.0.0.0\lib\Interop.Excel.dll’ because of an indirect reference to that assembly created by assembly ‘x:\y\packages\FileHelpers.2.0.0.0\lib\FileHelpers.ExcelStorage.dll’. Consider changing the ‘Embed Interop Types’ property on either assembly.
What does this mean and what do I need to do (if anything, it’s only a warning, not an error) to fix it? I am using resharper, I am not sure if this is a resharper warning or a Visual Studio warning.
Thanks
From MSDN:
To get rid of the warning, find the Microsoft.Office.Interop.Excel reference in solution explorer. Right-click and look at the Properties. There will be one called Embed Interop and it will be set to true – set it to false and the warnings will go away.