Skip to content

Commit

Permalink
Merge pull request #817 from Azure/XamarinSupport
Browse files Browse the repository at this point in the history
Build in C# using Xamarin for iOS and Android
  • Loading branch information
tameraw authored Sep 14, 2016
2 parents afe40f0 + e3a485e commit 4a033eb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions csharp/device/doc/devbox_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,19 @@ If you are creating a client application from scratch, use the Visual Studio pac

This repository contains various .NET sample applications that illustrate how to use the Microsoft Azure IoT device SDK for .NET. For more information, see the [readme][readme].

## Building for iOS and Android using C#
For building for iOS and Android using C#, you need to install [Xamarin][lnk-visualstudio-xamarin] for VS 2015

For building iOS sample, open **csharp\device\samples\DeviceClientSampleiOS** project file in VS 2015. You will be prompted to install Xamarin to build native iOS apps in C# if tool is not installed. Install the tool. You can test the sample on iPhone simulator running on your Mac.

For building Andriod sample open **csharp\device\samples\DeviceClientSampleAndroid** VS project file in VS 2015. You will be prompted to install Xamarin to build native Android apps in C# if tool is not installed. Install the tool. You can test the sample on Android emulator running on you host PC.

To check for any latest Xamarin update for Visual Studio check Tools->Options->Xamarin->Other.

[visual-studio]: https://www.visualstudio.com/
[readme]: ../readme.md
[lnk-sdk-vs2015]: http://go.microsoft.com/fwlink/?LinkId=518003
[lnk-sdk-vs2013]: http://go.microsoft.com/fwlink/?LinkId=323510
[lnk-sdk-vs2012]: http://go.microsoft.com/fwlink/?LinkId=323511
[lnk-visualstudio-xamarin]: https://msdn.microsoft.com/en-us/library/mt299001.aspx

0 comments on commit 4a033eb

Please sign in to comment.