Unable to install or run the application: Click Once

前端 未结 4 808
别跟我提以往
别跟我提以往 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:00

    In my case, the problem caused this error message was of incorrect library publishing configurations.

    When i set my library property CopyLocal = false, and then in project publish application files set Publish Status to Include, all works fine after project rebuilding and next publishing.

    Thus we tell to ClickOnce compiler, not to publish this library with application by default, and by changing Publish State from Prerequisites to Include tells ClickOnce, not to search this library in GAC.

提交回复
热议问题