ClickOnce: How to change the config file once we deploy on the ser

G

Guest

Hi,

I have problem in updating the config file.

We are using the ClickOnce technology to deploy the C# windows forms
applications. After deploying to the server, if we want to change the keys in
the app.exe.config.deploy file, it is not giving the erorr at the time of
modifying the file. When we try to install from the client machine it is
giving error

app.exe.config file has a different computed hash than specified in manifest.

please help in this

Regards
Satish
 
A

Andy

If you change ANY file downloaded via clickonce, you need to recreate
and resign your manifest file.

This is to prevent rogue updates, since you can't (as you discovered)
just replace the manifest file; you have to be able to resign it with
the same certificate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top