• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 685
  • 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
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 
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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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