G
Guest
Why does Office create a compile error when doing a Release compile but not
when doing a Debug complie. Release compile is compiled to the network share
drive
- Excel Interop is added as a reference in the VS Project window.
- Excel PIA Interop is located on the same network location as the exe and
the share directory with PIA is included in the project path
- Other projects in the same solution also reference Office with no problem
Compile Error:
using Excel = Microsoft.Office.Interop.Excel;
C:\BusinessInformationSoftware\ADONetLibrary\DatabaseControlsImplementation.cs(13):
The type or namespace name 'Office' does not exist in the class or namespace
'Microsoft' (are you missing an assembly reference?)
when doing a Debug complie. Release compile is compiled to the network share
drive
- Excel Interop is added as a reference in the VS Project window.
- Excel PIA Interop is located on the same network location as the exe and
the share directory with PIA is included in the project path
- Other projects in the same solution also reference Office with no problem
Compile Error:
using Excel = Microsoft.Office.Interop.Excel;
C:\BusinessInformationSoftware\ADONetLibrary\DatabaseControlsImplementation.cs(13):
The type or namespace name 'Office' does not exist in the class or namespace
'Microsoft' (are you missing an assembly reference?)