When one user tries to run the application, our ClickOnce application is reporting:
Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC.
It's interesting to note that the GAC (C:\Windows\assembly) does not have stdole installed in it. How do I get it there?
We are using .NET 3.5, and it has been installed on this computer.
Try going to the Publish tab in the project properties and then select the Application Files button. Then set the following properties:
After that you need to republish your application.
If the reference has CopyLocal=true, then the reference will be published with the application. If the reference has CopyLocal=false then the reference will be marked as a prerequisite. This means the assembly must be installed in the client's GAC before the ClickOnce application will install.
There are some assemblies that are installed into the GAC because of the Visual Studio install, not the .NET Framework install. This could be your situation.