Clarification on Upgrade (what do I do with my modified cshtml files?)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Hello,
I currently have my nC site hosted with Arvixe.  It is version 2.1.  I wanted to see about upgrading on my own and need clarification on the steps that are included with the upgrade scripts.

The part I am not clear about is step #3 below.  I have made quite a few changes to the View cshtml files.  Do I have to reconstruct those now or do I upload in with the new files? For example, I made changes to Index.cshtml.  Do I upload my previous version or do I have to recode everything? I am running the no source code version.

Thanks for the help!


Steps:
1. Backup your existing database
2. Execute upgrade.sql script over your database
2. Execute upgrade.additional.sql script over your database if it supports stored procedures and functions. Note that SQL Compact doesn't support them.
3. Remove all files from the previous version except App_Data\Settings.txt and App_Data\InstalledPlugins.txt
4. Upload new site files
5. Copy back App_Data\Settings.txt and App_Data\InstalledPlugins.txt files
6. Ensure that everything is OK
12 years ago
Additional steps
3b Backup all your modified .cshtml files
6b Restore  all your modified .cshtml files (i.e. overwrite)
6c Ensure that everything looks ok with your files
12 years ago
Perfect...thanks for the clarification.  Going to give that a shot..that was the piece I was not clear about.  Also, I assume I just reload my custom theme..
12 years ago
madv1457 wrote:
Perfect...thanks for the clarification.  Going to give that a shot..that was the piece I was not clear about.  Also, I assume I just reload my custom theme..


For future reference you can use my blog post about remaining upgrade resistant with nopCommerce. It would also be helpful to use a tool like beyond compare to merge files during upgrades.

http://www.scootersoftware.com/
http://blog.csharpwebdeveloper.com/2011/09/27/cheat-sheet-for-effectively-extending-nopcommerce/
12 years ago
skyler.severns wrote:
Perfect...thanks for the clarification.  Going to give that a shot..that was the piece I was not clear about.  Also, I assume I just reload my custom theme..

For future reference you can use my blog post about remaining upgrade resistant with nopCommerce. It would also be helpful to use a tool like beyond compare to merge files during upgrades.

http://www.scootersoftware.com/
http://blog.csharpwebdeveloper.com/2011/09/27/cheat-sheet-for-effectively-extending-nopcommerce/


Thanks Karma, I will definitely have a look
12 years ago
madv1457 wrote:
Perfect...thanks for the clarification.  Going to give that a shot..that was the piece I was not clear about.  Also, I assume I just reload my custom theme..

For future reference you can use my blog post about remaining upgrade resistant with nopCommerce. It would also be helpful to use a tool like beyond compare to merge files during upgrades.

http://www.scootersoftware.com/
http://blog.csharpwebdeveloper.com/2011/09/27/cheat-sheet-for-effectively-extending-nopcommerce/

Thanks Karma, I will definitely have a look


Sorry, thanks Skyler!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.