...
Code Block | ||
---|---|---|
| ||
<ScriptRules>
<!--
Description: Rules to restore MigrationSupport conventions in a gmRTL code.
-->
<ScriptRule id="MSRollBack" Condition="%TaskTag%=='upg'">
<Option>
</Option>
<PostAnalyse>
<refactor>
<Migrate id="[gmRTL.Core]" migName="MigrationSupport"/>
</refactor>
</PostAnalyse>
<Author>
<Fix name="PostEdit">
<Replace status="active" name="Reference MigrationSupport.dll rather than gmRTL.Core" lang="csproj">
<OldBlock><![CDATA[
<Reference Include="gmRTL.Core">
...
</Reference>
]]></OldBlock>
<NewBlock><![CDATA[
<Reference Include="MigrationSupport">
<Name>MigrationSupport</Name>
<HintPath>..\MigrationSupport\bin\Debug\MigrationSupport.dll</HintPath>
</Reference>
]]></NewBlock>
</Replace>
<Replace status="active" name="Remove gmRTL.GUI.dll reference" lang="csproj">
<OldBlock><![CDATA[
<Reference Include="gmRTL.GUI">
...
</Reference>
]]></OldBlock>
</Replace>
<Replace name="gmRTL.Core.GlobalException">
<OldBlock><![CDATA[gmRTL.Core.GlobalException]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.GlobalException]]></NewBlock>
</Replace>
<Replace name="using gmRTL.Core;">
<OldBlock><![CDATA[using gmRTL.Core;]]></OldBlock>
<NewBlock><![CDATA[using MigrationSupport;]]></NewBlock>
</Replace>
<Replace name="using gmRTL.GUI;">
<OldBlock><![CDATA[using gmRTL.GUI;]]></OldBlock>
</Replace>
<Replace name="gmRTL.Core.Enums">
<OldBlock><![CDATA[gmRTL.Core.Enums]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.Enums">
<OldBlock><![CDATA[gmRTL.GUI.Enums]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.App">
<OldBlock><![CDATA[gmRTL.Core.App]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.App]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.ErrorHandling">
<OldBlock><![CDATA[gmRTL.Core.ErrorHandling]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.ErrorHandling">
<OldBlock><![CDATA[gmRTL.Core.FormatHelper]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.ErrorHandling">
<OldBlock><![CDATA[gmRTL.Core.FormatHelper]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.LineControl">
<OldBlock><![CDATA[gmRTL.GUI.LineControl]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Line]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.ShapeControl">
<OldBlock><![CDATA[gmRTL.GUI.ShapeControl]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.ShapeControl]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.ControlHelper">
<OldBlock><![CDATA[gmRTL.GUI.ControlHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.FontHelper.">
<OldBlock><![CDATA[FontHelper.SetName]]></OldBlock>
<NewBlock><![CDATA[FontHelper.FontChangeName]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.FontHelper.">
<OldBlock><![CDATA[FontHelper.SetBold]]></OldBlock>
<NewBlock><![CDATA[FontHelper.FontChangeBold]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.FontHelper.">
<OldBlock><![CDATA[FontHelper.SetSize]]></OldBlock>
<NewBlock><![CDATA[FontHelper.FontChangeSize]]></NewBlock>
</Replace>
<Replace name="gmRTL.GUI.FontHelper.">
<OldBlock><![CDATA[gmRTL.GUI.FontHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.InformationHelper.">
<OldBlock><![CDATA[gmRTL.Core.InformationHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.InteractionHelper.">
<OldBlock><![CDATA[gmRTL.Core.InteractionHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.DateTimeHelper.">
<OldBlock><![CDATA[gmRTL.Core.DateTimeHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.MathHelper.">
<OldBlock><![CDATA[gmRTL.Core.MathHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Rand.]]></NewBlock>
</Replace>
<Replace name="gmRTL.Core.MathHelper.">
<OldBlock><![CDATA[gmRTL.Core.MathHelper.]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.]]></NewBlock>
</Replace>
<Replace name="Source.GetControlIndex()">
<OldBlock><![CDATA[Source.GetControlIndex()]]></OldBlock>
<NewBlock><![CDATA[MigrationSupport.Utils.GetControlIndex(Source) ]]></NewBlock>
</Replace>
<Replace name="MigrationSupport.Utils.OLEDropConstants">
<OldBlock><![CDATA[MigrationSupport.Utils.OLEDropConstants]]></OldBlock>
<NewBlock><![CDATA[OLEDropConstants]]></NewBlock>
</Replace>
</PostEdit>
</Author>
</ScriptRule>
</ScriptRules> |
...