File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ A note about running Umbraco from Visual Studio.
2
2
3
3
Don't forget to build!
4
4
5
+ BETA Notice: We've done our best to transform your config files, we are testing this in 7.2 beta and would love to
6
+ hear back if it didn't work so we can improve this feature. We'd love to see your before and after config files
7
+ (make sure to delete sensitive data like passwords and API keys) in the issue tracker at http://issues.umbraco.org/
8
+ Remember, we backed up your files in App_Data\NuGetBackup so you can find the original file before it was transformed.
9
+
5
10
When upgrading your website using NuGet you should answer "No" to the questions to overwrite the Web.config
6
11
file (and config files in the config folder).
7
12
Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ if ($project) {
14
14
$webConfigSource = Join-Path $projectDestinationPath " Web.config"
15
15
Copy-Item $webConfigSource $backupPath - Force
16
16
17
+ # Backup config files folder
18
+ $configFolder = Join-Path $projectDestinationPath " Config"
19
+ if (Test-Path $configFolder ) {
20
+ $umbracoBackupPath = Join-Path $backupPath " Config"
21
+ New-Item - ItemType Directory - Force - Path $umbracoBackupPath
22
+
23
+ robocopy $configFolder $umbracoBackupPath / e / LOG:$copyLogsPath \ConfigBackup.log
24
+ }
25
+
17
26
# Copy umbraco and umbraco_files from package to project folder
18
27
# This is only done when these folders already exist because we
19
28
# only want to do this for upgrades
@@ -140,7 +149,10 @@ if ($project) {
140
149
}
141
150
142
151
$installFolder = Join-Path $projectDestinationPath " Install"
143
- if (Test-Path $umbracoFolder ) {
152
+ if (Test-Path $installFolder ) {
144
153
Remove-Item $installFolder - Force - Recurse - Confirm:$false
145
154
}
155
+
156
+ # Open readme.txt file
157
+ $DTE.ItemOperations.OpenFile ($toolsPath + ' \Readme.txt' )
146
158
}
You can’t perform that action at this time.
0 commit comments