Remove ClickOnce from a WinForms app

前端 未结 5 751
眼角桃花
眼角桃花 2020-12-15 15:42

I have a WinForms application that was going to use ClickOnce. But it turns out ClickOnce won\'t work for my application, so I\'d like to remove it. Only...there doesn\'t

5条回答
  •  既然无缘
    2020-12-15 16:02

    Just in case this helps anyone...

    My problem was specifically that I had a dependant "Class Library" project that had the "sign the clickonce manifest" checked but disabled so it could not be unchecked. My solution was to:

    • Convert that project to a windows app,
    • Re-open the properties panel,
    • Remove the click once manifest signing from the signing tab on the properties panel,
    • Convert the project back to a "Class Library".

    I consider it an MS bug (still in VS2019 16.0.1 which I'm using now) but the workaround fixed it.

    Good Luck!

提交回复
热议问题