Skip to content

Build Properties

Dan Siegel edited this page Mar 14, 2018 · 1 revision

As part of the Build Tools, a number of Build Properties are added to better assist your DevOps pipeline by adding intelligence to the Build Process.

  • IsWindows
  • IsUnix (True on both macOS and Linux)
  • *IsOSX
  • *IsLinux
  • IsiOSProject
  • IsAndroidProject
  • IsUWPProject
  • IsMacOSProject
  • IsTizenProject

Notes:

* IsOSX and IsLinux can not be determined as true when the executing MSBuildRuntimeType is Mono.

The Mobile.BuildTools are designed to keep Secrets Safe, while still allowing you to be able to debug. During the build outputs from Mobile.BuildTools will help you see that what keys were found and show you generally what was output. Because your secrets should be safe we default to sanitizing the output. This can be easily overriden if you need to debug your build. You can do this by updating either your Directory.build.props or csproj as follows:

<PropertyGroup>
  <!-- This will allow output of your actual secrets to the Build Log -->
  <MobileBuildToolsDebug>true</MobileBuildToolsDebug>
</PropertyGroup>
Clone this wiki locally