...
Code Block |
---|
<RefactorLibrary> <Refactor id="[MSComCtl.ocx]"> <Migrate location="DoNotDeclare" migName="System.Windows.Forms" /> <Migrate id="IProgressBar.Min" migName="Minimum" /> <Migrate id="IProgressBar.Max" migName="Maximum" /> <Migrate id="IProgressBar.Appearance" migStatus="mustCorrect" /> <migClass id="NetControl.ProgressBar" migName="System.Windows.Forms.ProgressBar" parent="ProgressBar"> <property id="Location" value="(Left,Top)" nPram="2" migPattern="new System.Drawing.Point(%1d, %2d)" /> <property id="Name" type="string" value="SYM.name" /> <property id="Size" value="(Width,Height)" nPram="2" migPattern="new System.Drawing.Size(%1d, %2d)" /> <property id="TabIndex" type="Integer" value="TabIndex" default="0" /> <!-- NOT MAPPED for designer Appearance = System.Windows.Forms.AppearanceConstants.cc3D; --> </migClass> </Refactor> </RefactorLibrary> |
Info |
---|
In addition to implicit loading using the mig.IDF file naming convention, it is possible (and recommended) to explicitly name RefactorLibrary with more descriptive names and register them using Registry-MigFile commands prior to the <Compile> . For example: <Registry type="MigFile" source="RICHTX32.OCX" target="RICHTX32.OCX.WinForms.Refactor" /> |
The Mig.IDF file should be placed in "user" folder in the project work space along with the other upgrade scripts, code, and documentation you are developing for your upgrade solution.
...