363,925 Members | 2607 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Requires stdole Version 7.0.33 be installed in GAC ClickOnce deployment

Velupula
P: n/a
Velupula
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+

Post your reply

Help answer this question



Didn't find the answer to your C# / C Sharp question?

You can also browse similar questions: C# / C Sharp stdole version