Added the ability to automate any c# scripts for an upgrade process. I realize this is superceded already in 6.0

but we need a way to do this in 4.x too especially for this release since we need to run a script to fix some db
issues. I've added a framework using an UpgradeScriptManager and another install step + unit tests for some of the
UpgradeScriptManager methods.
This commit is contained in:
Shannon Deminick
2013-01-31 04:26:37 +06:00
parent 97556de447
commit a5bea7fc59
22 changed files with 601 additions and 56 deletions

View File

@@ -289,6 +289,13 @@
<Compile Include="install\steps\Skinning\LoadStarterKits.ascx.designer.cs">
<DependentUpon>loadStarterKits.ascx</DependentUpon>
</Compile>
<Compile Include="install\steps\UpgradeScripts.ascx.cs">
<DependentUpon>UpgradeScripts.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="install\steps\UpgradeScripts.ascx.designer.cs">
<DependentUpon>UpgradeScripts.ascx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Umbraco\developer\Macros\EditMacro.aspx.cs">
<DependentUpon>editMacro.aspx</DependentUpon>
@@ -418,6 +425,7 @@
<DependentUpon>UI.xml</DependentUpon>
</None>
<Content Include="Global.asax" />
<Content Include="install\steps\UpgradeScripts.ascx" />
<Content Include="Umbraco\config\lang\en_us.xml" />
<Content Include="Umbraco\config\lang\he.xml" />
<Content Include="Umbraco\config\lang\ja.xml" />