Unable to install or run the application: Click Once

前端 未结 4 806
别跟我提以往
别跟我提以往 2020-12-29 20:37

I published my .net application using ClickOnce, and all my users get the following error message on trying to open the program:

\"Unable to install or run the appli

4条回答
  •  [愿得一人]
    2020-12-29 21:02

    I found solution here:

    http://ablogontech.wordpress.com/2009/01/02/unable-to-install-or-run-the-application-the-application-requires-that-the-assembly-be-installed-in-the-global-assembly-cache-gac-first/

    Excerpt from wordpress link:

    I recevied this error while compiling my first C# production application. I had to do the following in Visual Studio for the project:

    1. In Solution Explorer, expand the References node and click the assembly listed in the error. Ensure Copy Local in the Properties grid is set to ‘True’.
    2. In the properties of the project, Publish | Application Files Tab, ensure the Publish Status for the assembly listed in the error is set to ‘Include’

提交回复
热议问题