Unable to find manifest signing certificate in the certificate store

.NetVstoClickonce

.Net Problem Overview


I signed the assembly with my VSTO 4.0 word add-in with strong name key file .snk and tried to uncheck Sign the ClickOnce manifest but after rebuild it appears again. After I tried to delete lines for ClickOnce manifest in .csproj, .pfx manifest appears after every rebuild.

Does anyone know solution to permanently delete temporary ClickOnce manifest?

.Net Solutions


Solution 1 - .Net

The problem for me was that the checkbox "Signing the ClickOnce manifest" was checked. If you are not using signing uncheck it in Project Properties->signing->sign the clickonce manifests

Solution 2 - .Net

Unchecking the "Signing the ClientOnce Manifest" doesn't always work. The solution is to remove the following lines from your csproj files

> <PropertyGroup> <ManifestCertificateThumbprint>4FCE3F0998F4B89946A9D0346838E77A0C5C5568</ManifestCertificateThumbprint> </PropertyGroup> <PropertyGroup> <GenerateManifests>true</GenerateManifests> </PropertyGroup> <PropertyGroup> <SignManifests>false</SignManifests> </PropertyGroup>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionVlad OmelyanchukView Question on Stackoverflow
Solution 1 - .NetKervin RamenView Answer on Stackoverflow
Solution 2 - .NetHamid ShahidView Answer on Stackoverflow