Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Building

Chris C edited this page Nov 12, 2016 · 4 revisions

Local Workstation

To compile XPlugins.Notifications on you local Windows workstation you need to have Visual Studio 2015 along with Xamarin. You must also have access to a Mac with Xamarin Studio installed.

Requirements

Once you have all the requirements installed you should be able to clone this project and compile it. If you run into any problem please let me know.

TeamCity

XPlugins.Notifications uses TeamCity for continuous integration. You can find the exact steps are how Saturday MP setup TeamCity here. You might have to adapt them for your own setup.

Requirements

  • TeamCity 10.0.2 or higher.
  • Windows 10 with TeamCity build agent
    • Same requirements as local workstation above

NuSpec

The nupec file to create the NuGet package is a standard package but needs a bit of extra work to setup the platform specific files. For example the Android DLLs should only be copied ot Andriod projects. This is handled by setting up targets for the various DLLs in the files section:

<files>
    <file src="SaturdayMP.XPlugins.Notifications.Droid\bin\Release\SaturdayMP.XPlugins.Notifications.Droid.dll" target="lib\MonoAndroid10\SaturdayMP.XPlugins.Notifications.Droid.dll" />
    <file src="SaturdayMP.XPlugins.Notifications\bin\Release\SaturdayMP.XPlugins.Notifications.dll" target="lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10+UAP10\SaturdayMP.XPlugins.Notifications.dll" />
</files>

Notice the target part? Click for a full list of NuGet targets and Xamarin NuGet targets.

Clone this wiki locally