I have a c# (VS 2015) application that references Microsoft.Office.Interop.Excel
My code includes oXL = new Microsoft.Office.Interop.Excel.Application();
as well as the above reference.
If I compile and install that application on a machine that already has both Office 2013 and .Net 4.0 but when I search that computer I cannot find Microsoft.Office.Interop.Excel.dll
on it anywhere which, I assume, is what I need.
I saw here:
By default, PIA’s are embedded in your solution when you build it so you don’t have to distribute PIAs to users as a prerequisite to using your VSTO Add-in or customization.
When I build my application I don't get Microsoft.Office.Interop.Excel.dll
included in my Release folder (like I do with other referenced .dlls).
Do I need to add that manually or is the only way to get this installed to also install the Office Primary Interop Assemblies Redistributable from Microsoft?