We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion has new privacy terms and cookie policies in effect May 24, 2018. Learn more
How to build a Xamarin.Forms project referring Syncfusion controls in Mobile Center

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

 

Here we check with a GitHub example.

 

Sample in GitHub  

 

We have attached the sample in the below link which is used for further explanations.

  

Link:  http://www.syncfusion.com/downloads/support/directtrac/186567/ze/SyncfusionSample318277290

 

You can commit this sample in your GitHub account.

 

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.

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-12.png

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

 

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-13.png

 

 

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

  

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-1.png  

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

 

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-2.png

 

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.

 

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot.png

  

5. Click the Build option to build an application  

 

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-3.png  

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. 

 C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-4.png  

 C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-5.png  

 

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

  

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-6.png  

  

8. Finally, Configure your build.  

  

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-7.png  

  

 

 

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

 

 

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-9.png 

 

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

 

C:\Users\saravanapandian.muru\AppData\Local\Microsoft\Windows\INetCache\Content.Word\sshot-11.png

 

 

 

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/mobile-center/

Article ID: Published Date: Last Revised Date: Platform: Control:
8021 10/03/2017 10/04/2017 Xamarin.Forms General
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.