Adding the API to a project targeting .NET Frameworks from 2 to 4 |
|
Find below required steps:
• | Open the project you are working on |
• | Inside the "Solution Explorer" right-click the mouse button on the "References" item |
• | From the context menu select the "Add reference..." menu item; this will open the "Add reference" dialog box. |
• | Select the ".NET" tab |
• | On the list of installed components find the component named "Active MIDI DJ Console for .NET" as displayed below |
• | As you can see there are two versions of the component: the one with assembly name "ActiveDjConsoleNetApiF4.dll" is intended for usage with container applications targeted for .NET framework 4 or higher while the one with assembly name "ActiveDjConsoleNetApi.dll" is intended for usage with container applications targeted for .NET framework 2.0, 3.0 or 3.5 so you may decide which of the two version best fits your needs. |
• | Pressing the "OK" button will bring you again to your project working area and the References item of the Solution Explorer will appear like this: |
• | You can now start developing your code around the control as described inside the How to use the component in your projects section |
IMPORTANT NOTE ABOUT THE TARGETED .NET FRAMEWORK INSIDE VISUAL STUDIO 2010 When a new application is created from scratch through the Visual Studio 2010 wizard, by default the targeted .NET framework is set to ".NET framework 4 Client Profile": this version of the .NET framework is a subset of the .NET framework 4 and one of its main limitations is the fact that you cannot reference an assembly that is not in the ".NET Framework 4 Client Profile" so, in order to be able compiling the application referencing one of our components, assuming that the project name is "MyApp", you will have to perform following steps:
|