string[] GetBuildProperties(LocalBuilder builder, bool manyBuild, bool dtbBuild, params string[] extraConstants) { var ret = new List <string> { "AndroidGenerateLayoutBindings=true" }; if (!Builder.UseDotNet) { ret.Add("TargetFrameworkVersion=" + builder.LatestTargetFrameworkVersion()); } if (manyBuild) { ret.Add("ForceParallelBuild=true"); } if (dtbBuild) { ret.Add("DesignTimeBuild=True"); ret.Add("BuildingInsideVisualStudio=True"); ret.Add("SkipCompilerExecution=True"); ret.Add("ProvideCommandLineArgs=True"); } if (extraConstants != null && extraConstants.Length > 0) { string extras = String.Join(";", extraConstants); ret.Add($"ExtraConstants={extras}"); } ret.Add($"Configuration={XABuildPaths.Configuration}"); return(ret.ToArray()); }