IMPORTANT: Before starting the porting of a project, we always recommend to make a backup copy, just in case.
In order to compile an existing project originally developed for versions 2.0, 3.0 or 3.5 of the .NET framework you need Visual Studio 2010 or higher than you can proceed as follows:
|1.||Make sure that version 188.8.131.52 (or higher) of our component is installed on your development PC|
|2.||Make a copy of the original project (all of the files) to port into a different folder|
|3.||Open the new copy of the project in Visual Studio 2010 or higher|
|4.||Open in [Design] mode the first project's form containing at least one of our component|
|5.||Move through the mouse one single instance of our component of a few pixels on the container form: the component is invisible at runtime so its position here is irrelevant (note that doing this operation on one single instance of the component will be enough for porting all of the other instances available on the same form).|
|7.||Save the form and close it|
|8.||Repeat points from 4 to 7 for each of the other project's forms containing at least one of our component.|
|9.||If the original application was named "AppF2", you may now change its name to AppF4 or to something else that would create an output EXE file having a filename different from the original one|
|10.||Inside the project's properties select the "Application" tab and change the "Target framework" combo box to ".NET Framework 4" or higher (with the exception of the unsupported ".NET Framework 4 Client Profile")|
|12.||From the IDE menu, select "Project/References" and manually remove the existing reference to AudioDjStudio by right-clicking AudioDjStudio and by selecting the "Remove" item of the context menu as shown below|
|14.||Right click the "References" item and select "Add reference..." from the context menu as show below|
|16.||Inside the "Add reference" form select the ".NET" tab and scroll down the list of installed components until you find "Audio DJ Studio for .NET v4": select it and press the "OK" button|
|18.||At this point the new reference will be visible|
Now, being the two projects in separate folders and each generating an output EXE having a specific filename, you could decide if you want to keep both versions of your application for redistribution.