ComponentOne Xamarin Edition
Licensing your app using GrapeCity License Manager Add-in
Getting Started with Xamarin Edition > Licensing > Licensing your app using GrapeCity License Manager Add-in

If you are using ComponentOne Xamarin Edition 2017v2 and newer versions with Visual Studio, you can use the GrapeCity License Manager Add-in to license your apps. If you are using Visual Studio for Mac, follow the instructions given in Licensing your app using website.

GrapeCity License Manager Add-in for Visual Studio

The GrapeCity License Manager add-in generates XML keys to license your apps directly in Visual Studio. To license a Xamarin.Forms app, complete the steps as follows:

  1. From the Tools menu, select GrapeCity License Manager add-in.

  2. Sign-in into the License Manager using your email address and password. If you have not created a GrapeCity Account in the past, you can create an account at this step. If you are already signed in, skip the screen.

  3. Once you sign in, you can choose any one of the following options. You login information will be cached for 30 days in Visual Studio.

    • Activate/Deactivate Serial Number - Allows the users to activate or deactivate the serial number using the internet, C1 Website, By Email, or Over the phone.
    • Generate App (runtime) Licenses - Allows the users to generate and activate license for each UWP application you are working on your system.
    • Update Project(s) - Select one or more projects from the loaded solution to:
      • Modify all references to ComponentOne assemblies so that they are not version specific.
      • Update all entries in the licenses.licx file so that they are not version-specific.
      • Add entries in the licenses.licx file for referred dlls which have been already added.

    • Launch Support Portal - Allows the user to open website where the users can communicate with the support team for any support related issues.
  4. Select Generate App (runtime) Licenses option to generate a license for your application.
  5. Select the Serial Number from the Serial Number drop-down list. In case you do have a serial number, generate a trial key by selecting Eval.
  6. Click on the check box next to the PCL or shared project to be licensed.

  7. Click Generate App (runtime) License button. Once you click the button, a success message appears in the GrapeCity License Manager window and a license is created with GCDTLicenses.xml file name.

  8. Click Finish and close the window.

You can now build and run your licensed app.

See Also