Invalid algorithm specified when publishing new add-in via ClickOnce deployment

Add-in Express™ Support Service
That's what is more important than anything else

Invalid algorithm specified when publishing new add-in via ClickOnce deployment
 
Rob Prestidge




Posts: 5
Joined: 2019-11-06
Hi,

I'm trying to publish an Excel add-in via the ClickOnce Deployment on the publish wizard and getting an error of "Invalid algorithm specified" when I attempt to publish (the message box that appears has a title if AddinExpress.VSPackage).

I can run and debug the add-in fine, it's only when I come to publish the add-in I get an error. I am using Visual Studio 2019, I was able to publish it fine from Visual Studio 2017.

Apologies if the description above it a little vague, please let me know if any further information would help!
Posted 06 Nov, 2019 05:20:57 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Rob,

Please check https://www.add-in-express.com/forum/read.php?FID=5&TID=15638.


Andrei Smolin
Add-in Express Team Leader
Posted 06 Nov, 2019 05:33:56 Top
Rob Prestidge




Posts: 5
Joined: 2019-11-06
Hi,

Thanks - I'm now using a certificate the supports SHA-256 but still getting the same error. Could there be another cause of the error?

Thanks

Rob
Posted 11 Nov, 2019 06:55:14 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Rob,

We've tried doing this using our certificate: this works. Do you have your certificate installed to the Certificate Store? If, you use a file, it's extension should be .pfx.


Andrei Smolin
Add-in Express Team Leader
Posted 12 Nov, 2019 06:04:23 Top
Rob Prestidge




Posts: 5
Joined: 2019-11-06
Hi Andrei,

I am selecting it from a file and yes it does have a .pfx extension.

Thanks

Rob
Posted 12 Nov, 2019 10:02:50 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Rob,

Create a Windows Forms application project and try to publish it using your certificate. Does this work?


Andrei Smolin
Add-in Express Team Leader
Posted 12 Nov, 2019 10:10:32 Top
Rob Prestidge




Posts: 5
Joined: 2019-11-06
Yes that seems to work fine.
Posted 12 Nov, 2019 16:29:52 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Rob,

Could you please send us any file signed by your certificate? You can find the support email address in {Add-in Express installation folder}\readme.txt; please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 13 Nov, 2019 06:21:43 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Thank you, Rob.

Start Micirosft Managment console (mmc), choose File | Add/Remove snap-in to see certificates. Expand Certificates - Current User | Personal. Right-click Certificates and import your certificate. Specify that your project is signed using the certificate from the personal certificate store. Does this work?


Andrei Smolin
Add-in Express Team Leader
Posted 14 Nov, 2019 05:03:25 Top
Rob Prestidge




Posts: 5
Joined: 2019-11-06
I'm afraid that still isn't working! (Incidentally - I just tried and I am able to publish from Visual Studio 2017 using that certificate.)

Thank you for your continued help with this matter!
Posted 14 Nov, 2019 10:43:41 Top