Troubleshooting ClickOnce

I am having problems signing the application after deploying ClickOnce.

The application is a winforms project with 3 class library projects and is deployed to a common file path.

Publishing from Visual Studio works, and if I run the application, it will be perfectly installed, despite the warning in Windows 10 that it is unrecognized: Windows protected screenshot of your PC

So, being a stupid useful programmer, I thought I would try to remove the warning message for my users.

  • The first step was to create a signature certificate. Fortunately, the sys administrator was able to make an internal certificate for me, and I was able to figure out how to export it by reading this .
  • Mage UI, . , "", . , Windows SDK . Mage . Mage , , .application +.manifest, .
  • Reference in the manifest does not match the identity of the downloaded assembly 10 , , .
  • MSDN, , - . ? , , , .application = "000000000000000" .manifest .
  • , Mage "Application Reference" . could not find a part of the path \\MyFileShare\Application%20Files\MyApplication_1_0_0_23\MyApplication.exe.manifest
  • , urlencoding. %20 Mage AGAIN, !!!

- , Microsoft ?


TL;DR;

Mage 1 , ?

+4
2

, , , Visual Studio.

Visual Studio (), + !

0

, ClickOnce , - - .

, , : ClickOnce . ClickOnce, , .

:

  • , Visual Studio . ( , , );
  • , . , ;
  • , MSI.
0

Source: https://habr.com/ru/post/1679782/


All Articles