Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage upgrades and uninstalls gracefully #13

Closed
ferventcoder opened this issue Jan 3, 2018 · 1 comment
Closed

Manage upgrades and uninstalls gracefully #13

ferventcoder opened this issue Jan 3, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@ferventcoder
Copy link
Contributor

Don't remove web.config file settings or delete existing packages.

@ferventcoder
Copy link
Contributor Author

Also upgrade to the right folder

@ferventcoder ferventcoder added this to the 0.2.0 milestone Jan 4, 2018
@ferventcoder ferventcoder self-assigned this Jan 4, 2018
@ferventcoder ferventcoder changed the title Upgrade gracefully Manage upgrades and uninstalls gracefully Jan 4, 2018
ferventcoder added a commit that referenced this issue Jan 4, 2018
Grab the existing web.config to attempt upgrades properly.
ferventcoder added a commit that referenced this issue Jan 4, 2018
Remove the existing site files minus App_Data and web.config.
ferventcoder added a commit that referenced this issue Jan 4, 2018
Use an XDT to upgrade the web.config rather than simply overwrite it.
ferventcoder added a commit that referenced this issue Jan 4, 2018
When there is an existing deployment perform the following steps:
- Make a copy of the existing web.config in the packages folder
- Remove all files except App_Data directories and the web.config from
the existing deployment
- Copy all files except the package's App_Data directory to the new
folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant