For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Add the MobileFirst SDK manually

We can prepare your environment for developing MobileFirst applications by getting the framework and library files manually. The IBM MobileFirstâ„¢ Platform Foundation SDK for Windows 8 and Windows 10 Universal Windows Platform (UWP) is also available from NuGet.


Overview

We can add MobileFirst functionality to an existing application, or upgrade from an earlier version of the MobileFirst SDK, by manually adding the SDK files to our application. Follow the outlined procedure to obtain the required SDK files and to prepare your development environment to build MobileFirst applications.


Procedure

  1. Get the MobileFirst SDK from MobileFirst Operations Console.We can refer to Acquiring the MobileFirst SDK from the MobileFirst Operations Console for detailed instructions.
  2. Extract the contents of the downloaded SDK obtained in step 1.
  3. Open the Windows Universal native project in Visual Studio. Perform the following steps.
    1. Select Tools > NuGet Package Manager > Package Manager Settings.
    2. Select Package Sources option. Click + icon to add new package source.
    3. Provide a name for the package source (for example: windows8nuget).
    4. Navigate to the MobileFirst SDK folder that was downloaded and extracted. Click OK.
    5. Click Update and then click OK.
    6. Right-click the Solution project-name in Solution explorer tab, which is to the right corner of the screen.
    7. Select Manage NuGet Packages for Solutions > Online > windows8nuget.
    8. Click Install option. You get the option to Select Projects.
    9. Ensure that all the check boxes are checked. Click OK.

    NuGet package gets installed into the project.


Results

Your Windows native project is now ready for development of MobileFirst applications.

In your application, we must import the headers for the IBMMobileFirstPlatformFoundation framework by using IBM.Worklight APIs.

Parent topic: Methods of setting up your environment