Yesterday, I referenced a COM assembly on my development machine: Microsoft Excel 14.0 Object Library
The reference was to my GAC, on the suggestion of yv989c, I took the following steps.
1. I opened the properties for the Excel 14.0 reference (Microsoft.Office.Interop.
Excel). Here, I set Embed Interops Types to FALSE and Local Copy to TRUE. (Image 1.)
2. I re-published the project, tested it locally (all was well), and deployed my project assembly, ParkAsset.dll, and Microsoft.Office.Interop.E
xcel.dll to the production server.
3. Despite taking these steps, I'm still seeing the following error on the production server.
Could not load file or assembly 'office, Version=188.8.131.52, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
What step did I miss?