|
I have searched the forums for a few days now, and I've yet to find a solution to this problem that works for me.
The issue that I'm experiencing is that a program published using ClickOnce deployment within Visual Studio (Visual Studio 2K5 Team Edition in C#) does not install on other user's computers, but it works fine on the development box.
There is a reference to Interop.Excel (Excel Object 9.0 Object Library), which is used for the creation and manipulation of Excel files within a Windows Form application. There is a "using Excel;" statement to reference this library. Once again, it works on my development box, but I receive an error message when the user's attempt to install it on their boxes. Running it on my box is the only way I can get it to work as well ... I receive an error message stating:
"Unable to install or run the application. The application requires that assembly office Version 11.0.0.0 be installed in the Global Assembly Cache (GAC) first ..."
The users receive a similar message, except that it states that they are missing "stdole Version 7.0.3300.0..."
I ensured that all of the references are set to Publish Status = Auto (Include), because I noticed this seemed to be a solution posted on a few threads (copy to target box rather than rely on them being installed in GAC), but it did not remedy the situation.
If anyone would offer up another suggestion of what I am doing wrong here, I'd be very appreciative. Thanks in advance.
|