0

I mistakenly clicked on Publish Now in Project > Properties > Publish.

It gave me the error -

An error occurred while signing: SignTool.exe not found

But I do not want to publish anything, nor do I want to install "ClickOnce Publishing Tools".

I am unable to rebuild normal EXEs. How do I reverse this?

Screenshot: Screenshot as requested

Prasad Kamath
  • 182
  • 2
  • 15
  • Possible duplicate of [Visual Studio SignTool.exe Not Found](https://stackoverflow.com/questions/31833142/visual-studio-signtool-exe-not-found) –  Jul 20 '18 at 16:57
  • This question has been asked before, here's where it can be found. https://stackoverflow.com/questions/31833142/visual-studio-signtool-exe-not-found –  Jul 20 '18 at 16:57
  • @MatthewKaulfers - as I mentioned, this is not a duplicate. I DO NOT WANT TO INSTALL ClickOnce nor do I want to PUBLISH. I just want to go back to rebuilding the EXE by clicking on Build - Rebuild Solution. But it does not allow me to do so anymore. – Prasad Kamath Jul 20 '18 at 17:28
  • can you attach a screenshot for clarity. –  Jul 20 '18 at 17:32
  • It likely updated something in your project file. Can you simply rollback that file? – UnhandledExcepSean Jul 20 '18 at 17:52
  • @UnhandledExcepSean - could you please tell me where the project file is located and how to roll it back. Sorry if it seems elementary but I am new to this thing. – Prasad Kamath Jul 20 '18 at 18:48
  • You are not using a version control system (SVN or GIT for example)? If not, you would need to open the project properties and see if the ClickOnce option is set in the Publish tab. – UnhandledExcepSean Jul 20 '18 at 18:50
  • I assume you meant Debug > Properties. In the Publish tab, I could not find the said option. Could you please elaborate? – Prasad Kamath Jul 20 '18 at 18:56

1 Answers1

1

If you do not want to Publish or install ClickOnce, do the following:

  • Go to Project > Properties

  • In the Signing tab, uncheck Sign the ClickOnce manifests.

That's all.

Prasad Kamath
  • 182
  • 2
  • 15