• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 728
  • Last Modified:

clickonce rolling back to an older version

Hello experts, I  recently found out about ClickOnce for installing and setting up automatic updates on .net applications.  It works great, but my only question is how would I roll back to an older version, if the new version causes unforseen issues?  I looked at the project files, on the website, and all the versions look like they get saved in seperate folders.  How do i get the publish.htm webpage to point to an older version?
0
tentavarious
Asked:
tentavarious
  • 4
  • 3
  • 3
1 Solution
 
silemoneCommented:
rollback your source manager (i.e. sourcesafe, tortoisehg, etc.) and then clickonce again...
0
 
tentavariousAuthor Commented:
How do i do that?  I am using visual studio 2008
0
 
HainKurtSr. System AnalystCommented:
he means, rollback your code to previous version (from your backups), compile and clickonce again...
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
tentavariousAuthor Commented:
oh, and if i didnt have backups?  I do backup but for a quick fix, to get the users going again, is there anyway to get the publish.htm to point to an old version and have it install?  If not why else would it save every version and not let you go back to an old one?
0
 
HainKurtSr. System AnalystCommented:
ok check this:

http://stackoverflow.com/questions/199348/how-can-i-roll-back-a-clickonce-application

I guess there is a config file which you can modify... and when user logs in it gets that version (rollback ;)
0
 
silemoneCommented:
it's going to be hard to go back if you don't have a back up...
0
 
silemoneCommented:
p.s.  start keeping backups of everything you do...seems Hain's solutions may work, but still backups are important...
0
 
HainKurtSr. System AnalystCommented:
0
 
tentavariousAuthor Commented:
Creating backups is always a good idea, but I gotta give the points to Hain because that is what I was looking for.
0
 
silemoneCommented:
completely agree...my suggestion was a side note...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now