By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,659 Members | 910 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,659 IT Pros & Developers. It's quick & easy.

Requires stdole Version 7.0.33 be installed in GAC ClickOnce deployment

P: n/a
Error message "Unable to install or run the application. The
application requires stdole Version 7.0.3300.0 in the GAC"

Resolution:
I had the same problem with a click once deployment.

I solved the problem by going to the 'Publish' tab in the project
properties and then selecting the 'Application Files' button.

I then selected the options:
'File Name' of 'stdole.dll'
'Publish status' to 'Include' and
'Download Group' to 'Required'.

This fixed my problem when I re-published.

However, I wanted to take the opportunity to explain what is going
on. Visual Studio 2005 tries to be smart about how to deploy
references. If the reference has CopyLocal=true, then the reference
will be published with the application, by default. If the reference
has CopyLocal=false (which is the default when the a reference is
installed in the gac, 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 install into the GAC because of the
Visual Studio install, not the .NET Framework install. It sounds like
this is the situation

Mar 2 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.