Articles in this section
Category / Section

How to build a Xamarin.Forms project referring Syncfusion controls in Mobile Center

2 mins read

To build Xamarin.Forms application in build center, kindly follow the steps described below.

 

Connecting to a source repository

 

To build your application in Mobile Center, you should connect your code repository service (GitHub, Bitbucket, VSTS) account. You can commit your application in any one of the below listed accounts.

 

  1. Visual Studio Team Services (VSTS)
  2. GitHub
  3. Bitbucket

 

For more details, we kindly request you to refer the below link.

 

Link: https://docs.microsoft.com/en-us/mobile-center/build/connect 

 

Restoring private NuGet

 

To restore NuGet, you should commit NuGet.config file at the root folder of your application in GitHub repository as per the below screenshot.

NuGet config

Your NuGet which you are going to use in your application should have been added as package source in that NuGet.Config file.

 

NuGet config file with key

 

 

Build your application in Mobile Center

 

Please follow the below steps to know about how to build an application in Mobile Center.

1. Login into your azure account. 

  

2. Once you logged in, click on Add new app

  

Build your application in Mobile Center
  

3. Add the details about your newly created app such as Name, Description, OS, Platform.   

 

Newly created app

 

4. You can create application in the OS/Platform which would you like.

 

Note:

If you have created your application in Android OS under Xamarin platform, you can able to build Android platform only. You should create a new application, if you want to run your application in iOS under Xamarin.

 

 

Xamarin iOS platform

  

5. Click the Build option to build an application.   

 

Build option application
  

6. You can select any one of the service listed below (Visual Studio Team Services/ GitHub/Bitbucket).

 

Ex: Connect your GitHub account and choose the repository which you created under your GitHub account. 

 GitHub account and choose the repository
  

 Syncfusion Project
  

 

7. Click on the branch as per the below screenshot. 

  

master branches
  

  

8. Finally, Configure your build.  

  

Configure your build
  

  

 

 

9. While configuring the build, you can change the Configuration mode either as Debug or release and Mono version too.

 

 

Debug or release and Mono Version
 

 

10. Once you done all the above configuration process, just click on the Save & Build option it will start to build your application automatically.

 

Save and Build option

 

Note:

Please refer the below link to know the brief details about how to build an application in mobile center project.

 

 

Link: https://docs.microsoft.com/en-us/appcenter/

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied