• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1256
  • Last Modified:

ClickOnce Installation error - The application requires that assembly Stdole2 Version 2 be installed in the GAC

I am trying to deploy a Winforms VB.NET 2.0 Application.  When I click on the .application file to install, I get the following error:

Unable to install or run the application.  The application requires that assembly Stdole2 Version 2.0.0.0 be installed in the Global Assembly Cache (GAC) first.

Any help would be much appreciated!

Thanks,
Sarah
0
spendergrass
Asked:
spendergrass
  • 7
  • 6
1 Solution
 
H-SCCommented:
Sarah,

goto myproject on the solutions tab and navigate to the publish area go into application files find Stdole, and change publish status to be "Include" and re-publish the project
0
 
spendergrassAuthor Commented:
The error message references stdole2 and I only have stdole available in my application files.  Is there some way to get stdole2 to show up in my application files?
0
 
H-SCCommented:
Sarah,

did you click on the "show all files" in the same area?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
spendergrassAuthor Commented:
I hadn't, but I just did and stdole2 is not in the list.
0
 
H-SCCommented:
does it show up in the "References" tab
0
 
spendergrassAuthor Commented:
There isn't a reference for stdole2 in the References tab.  I'm not even sure what it is.
0
 
H-SCCommented:
try and do a search for stdole2 in the entire project to see where it is referenced
0
 
spendergrassAuthor Commented:
It isn't referenced anywhere in the entire solution.  Very puzzling.
0
 
H-SCCommented:
ok, goto the references again and click on unused references...does it show there?
0
 
spendergrassAuthor Commented:
No, most of my references show up in there but not stdole2.  Do you know what stdole2 is?  Should I be looking for a different name?
0
 
H-SCCommented:
not sure what the file is...you may want to google it to see if it is a valid file
0
 
H-SCCommented:
sorry that I can't be of more help.  good luck on your project
0
 
spendergrassAuthor Commented:
I was able to get the application working without installing PIAs on the build server, but I'm not sure how.  Everything I found on the Internet stated they need to be installed.  Thank you for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now