James Ray Anderson

James Ray Anderson
James Ray Anderson
0 comments

The dreaded ClickOnce ".dll needs to be installed in the GAC first.."

8:59 PM
If you ever get the "Unable to install or run the application. The application requires that assembly  Version  be installed in the Global Assembly Cache (GAC) first." when using a ClickOnce install you will have to perform an uninstall first and then re-install after you fix your package.

This is caused because in your Publish, under the Application Files, you specified a file that had a publish status of "Prerequisite (auto)".  Basically that means you expect it to already be there.  Not your fault, per se, because this is the default behavior when you add a new reference.  Just change the publish status to "Include" and re-publish your install.

0 comments:

 
Toggle Footer
Top