How to use Primary Interop Assemblies
Hello everyone! I need to anticipate that I am very new to the Microsoft developing world, therefore I am not confident with Visual Studio.
I need to write an application for a windows server that works with excel. Looking on the web I found that the best method would be to use Microsoft.Office.Interop.Excel.
Therefore i put the using Microsoft.Office.Interop.Excel; line at the beginning of the code and, when comiling I told csc the reference using /r:Microsoft.Office.Interop.Excel.dll . The problem is that the compiler tells me that the metafile Microsoft.Office.Interop.Excel can't be found.
How can I proceed with this?
Thanks in advance!