3 "CloudDropAccessToken": {
4 "description": "Azure access token",
5 "valueType": "property",
9 "CloudDropAccountName": {
10 "description": "Azure account name.",
11 "valueType": "property",
15 "__PublishPackages": {
16 "description": "Specifies whether to publish product packages.",
17 "valueType": "property",
18 "values": [ true, false ],
22 "description": "Specifies whether to publish symbol packages.",
23 "valueType": "property",
24 "values": [ true, false ],
28 "description": "Product build major number.",
29 "valueType": "property",
34 "description": "Product build minor number.",
35 "valueType": "property",
40 "description": "Container name for Azure upload.",
41 "valueType": "property",
46 "description": "Blob Prefix for Azure download.",
47 "valueType": "property",
51 "MsBuildFileLogging": {
52 "description": "MsBuild logging options.",
53 "valueType": "passThrough",
55 "defaultValue": "/flp:v=normal"
57 "MsBuildEventLogging": {
58 "description": "MsBuild logging options.",
59 "valueType": "passThrough",
61 "defaultValue": "/l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
64 "description": "Specifies the OSGroup.",
65 "valueType": "property",
66 "values": [ "Windows_NT", "Linux", "Unix", "OSX", "Android" ],
67 "defaultValue": "${OSName}"
69 "RestoreNETCorePlatforms": {
70 "description": "MsBuild target that restores the NETCore packages.",
71 "valueType": "target",
76 "description": "MsBuild target that restores optimization profile data.",
77 "valueType": "target",
81 "RestoreDuringBuild": {
82 "description": "Enables/disables package restore.",
83 "valueType": "property",
84 "values": [ true, false ],
88 "description": "Project where the commands are going to be applied.",
89 "valueType": "passThrough",
94 "description": "Specifies the configuration to publish packages",
95 "valueType": "property",
96 "values": [ "release", "debug", "checked" ],
97 "defaultValue": "debug"
100 "description": "Specifies the architecture to publish packages",
101 "valueType": "property",
102 "values": [ "x64", "x86", "arm", "arm64" ],
103 "defaultValue": "${CPUArch}"
106 "description": "Specifies the OS to publish packages.",
107 "valueType": "property",
108 "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT", "Android" ],
109 "defaultValue": "${OSName}"
112 "description": "Specifies the distro rid for Unix OS.",
113 "valueType": "property",
115 "defaultValue": "${OSRid}"
118 "description": "Sets the Visual Studio version to use.",
119 "valueType": "property",
121 "defaultValue": "vs2015"
124 "description": "Directory of the dir.props file.",
125 "valueType": "property",
130 "description": "Source directory.",
131 "valueType": "property",
136 "description": "Packages directory.",
137 "valueType": "property",
142 "description": "Root bin directory.",
143 "valueType": "property",
148 "description": "Bin directory of specific OS, Arch and Type being built.",
149 "valueType": "property",
153 "__IntermediatesDir": {
154 "description": "Intermediates bin directory.",
155 "valueType": "property",
159 "__PackagesBinDir": {
160 "description": "Packages bin directory.",
161 "valueType": "property",
165 "__TestWorkingDir": {
166 "description": "Test working directory.",
167 "valueType": "property",
171 "GenerateVersionHeader": {
172 "description": "Generates _version.h",
173 "valueType": "passThrough",
175 "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
177 "GenerateVersionSourceFile": {
178 "description": "Generate version.cpp",
179 "valueType": "passThrough",
181 "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
183 "MSBuildNodeCount": {
184 "description": "Sets the value of the number of processors available for MSBuild.",
185 "valueType": "passThrough",
187 "defaultValue": "/maxcpucount"
189 "NativeVersionSourceFile": {
190 "description": "Provides location for version.cpp",
191 "valueType": "property",
195 "NativeVersionHeaderFile": {
196 "description": "Provides location for _version.h",
197 "valueType": "property",
201 "OverwriteCoreClrPackageVersion": {
202 "description": "Sets the property specifying to overwrite CoreClr Package version using OfficialBuildId",
203 "valueType": "property",
204 "values": [ true, false ],
208 "description": "Official Build Id.",
209 "valueType": "property",
214 "description": "Specifies the build type for native build.",
215 "valueType": "property",
216 "values": [ "debug", "release", "checked" ],
217 "defaultValue": "debug"
219 "EnableProfileGuidedOptimization": {
220 "description": "Enables IBC profile optimizations if profile data are available.",
221 "valueType": "property",
222 "values": [ true, false ],
223 "defaultValue": false
225 "RestoreDefaultOptimizationDataPackage": {
226 "description": "Instructs BuildTools to restore the default OptimizationData package.",
227 "valueType": "property",
228 "values": [ true, false ],
231 "UsePartialNGENOptimization": {
232 "description": "Adds the `-partialNGEN -minify` arguments when invoking IBCMerge.",
233 "valueType": "property",
234 "values": [ true, false ],
237 "OptimizationDataDir": {
238 "description": "Sets the path where the build should look for IBC profile data.",
239 "valueType": "property",
244 "description": "Set when building for arm64.",
245 "valueType": "property",
246 "values": [ true, false ],
250 "description": "Sets the build arch for native build.",
251 "valueType": "property",
252 "values": [ "x86", "x64", "arm", "arm64" ],
253 "defaultValue": "${CPUArch}"
256 "description": "Indicates if this is a portable build.",
257 "valueType": "property",
258 "values": [ "false", "true"],
259 "defaultValue": "true"
262 "description": "Specifies rebuild target.",
263 "valueType": "target",
268 "description": "Specifies build logs for build alias.",
269 "valueType": "passThrough",
274 "description": "Specifies build logs for build alias.",
275 "valueType": "passThrough",
280 "description": "Specifies build logs for build alias.",
281 "valueType": "passThrough",
285 "BuildNugetPackage": {
286 "description": "Specifies to build nuget packages.",
287 "valueType": "property",
288 "values": [ true, false ],
293 "valueType": "property",
294 "values": [ true, false ],
295 "defaultValue": false
298 "description": "Sets the SignType.",
299 "valueType": "property",
300 "values": [ "real" ],
303 "CLRTestPriorityToBuild": {
304 "description": "Sets priority to build test.",
305 "valueType": "property",
309 "CreateTestOverlay": {
310 "description": "Runs CreateTestOverlay target.",
311 "valueType": "target",
315 "CreateNonWindowsTestOverlay": {
316 "description": "Runs CreateNonWindowsTestOverlay target.",
317 "valueType": "target",
322 "description": "Sets build verbosity.",
323 "valueType": "passThrough",
325 "defaultValue": "/v:normal"
328 "description": "Runs the build target.",
329 "valueType": "target",
333 "UseSharedCompilation": {
334 "description": "Sets the use shared compilation property.",
335 "valueType": "property",
336 "values": [ true, false ],
339 "UpdateInvalidPackageVersions": {
340 "description": "Runs the target to update package versions.",
341 "valueType": "target",
345 "GenerateRuntimeLayout": {
346 "description": "Generates Core_Root folder",
347 "valueType": "property",
348 "values": [ true, false ],
351 "BuildTestsAgainstPackages": {
352 "description": "Sets the property specifying if we're building tests against packages",
353 "valueType": "property",
354 "values": [ true, false ],
358 "description": "Sets the property specifying if the tests we're building will target Windows",
359 "valueType": "property",
360 "values": [ true, false ],
363 "PublishTestNativeBins": {
364 "description": "Publishes test native binaries to Azure on non-windows",
365 "valueType": "property",
366 "values": [ true, false ],
370 "description": "Builds test Xunit wrappers",
371 "valueType": "property",
372 "values": [ true, false ],
376 "description": "Determines if we're running Crossgen tests",
377 "valueType": "property",
378 "values": [ true, false ],
382 "description": "Specifies the OS to build Core_Root for",
383 "valueType": "property",
384 "values": [ "debian.8-x64", "fedora.24-x64", "fedora.25-x64", "opensuse.42.1-x64", "osx.10.12-x64", "rhel.7-x64", "ubuntu.14.04-x64", "ubuntu.16.04-x64", "ubuntu.16.10-x64", "android.21-arm64" ],
385 "defaultValue": "${__RuntimeId}"
387 "BatchRestorePackages": {
388 "description": "MsBuild target that restores the packages.",
389 "valueType": "target",
394 "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
395 "valueType": "target",
400 "description": "Place test dependencies in bin/Product folder for building tests against",
401 "valueType": "target",
405 "CopyCrossgenToProduct": {
406 "description": "Place crossgen.exe in bin/Product folder for building tests against",
407 "valueType": "target",
411 "OptionalToolSource": {
412 "description": "URL of the nuget feed used by 'optional-tools'",
413 "valueType": "property",
417 "OptionalToolSourceUser": {
418 "description": "User name for authenticating to the optional tools feed",
419 "valueType": "property",
423 "OptionalToolSourcePassword": {
424 "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
425 "valueType": "property",
430 "description": "Extra parameters will be passed to the selected command.",
431 "valueType": "passThrough",
439 "generateHeaderWindows": {
440 "description": "Generates _version.h",
442 "GenerateVersionHeader": "default",
443 "NativeVersionHeaderFile": "default"
446 "generateHeaderUnix": {
447 "description": "Generates version.cpp",
449 "GenerateVersionSourceFile": "default",
450 "NativeVersionSourceFile": "default"
454 "description": "Sets the verbosity",
456 "Verbosity": "/v:detailed"
460 "description": "Sets the sign type.",
466 "description": "Sets buildtype.",
468 "__BuildType": "default"
472 "description": "Sets buildarch.",
474 "__BuildArch": "default"
478 "description": "Sets the OS to build.",
480 "__BuildOS": "default"
484 "description": "Runs test overlay target.",
486 "CreateTestOverlay": "default"
490 "description": "Sets CLRTestPriorityToBuild property.",
492 "CLRTestPriorityToBuild": "default"
496 "description": "Skips restoring packages during build.",
498 "RestoreDuringBuild": false
502 "description": "Runs the build target.",
509 "toolName": "msbuild",
511 "MsBuildLog": "default",
512 "MsBuildWrn": "default",
513 "MsBuildErr": "default",
514 "MsBuildEventLogging": "default",
515 "RestoreDefaultOptimizationDataPackage": "false",
516 "PortableBuild": "true",
517 "UsePartialNGENOptimization": "false",
518 "MSBuildNodeCount": "default"
525 "description": "Restores all NuGet packages for repository.",
527 "Project": "./build.proj",
528 "RestoreDuringBuild": true,
529 "RestoreNETCorePlatforms": "default"
533 "description": "Restores optimization profile data for the repository.",
535 "Project": "./build.proj",
536 "RestoreDuringBuild": true,
537 "RestoreOptData": "default"
541 "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
543 "Project": "./src/syncAzure.proj"
547 "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
549 "Project": "./src/syncAzure.proj",
550 "PublishTestNativeBins": "true"
554 "description": "Account token to connect to Azure Blob storage.",
556 "CloudDropAccessToken": "default"
560 "description": "Account name to connect to Azure Blob storage.",
562 "CloudDropAccountName": "default"
566 "description": "Container name to download from in Azure Blob storage.",
568 "ContainerName": "default"
572 "description": "Blob Prefix to download from in Azure container.",
574 "__BlobNamePrefix": "default"
578 "description": "Runtime ID of the binaries in the specified container.",
580 "RuntimeId": "default"
584 "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
586 "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
590 "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
592 "BuildNumberMajor": "default"
596 "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
598 "BuildNumberMinor": "default"
603 "toolName": "msbuild",
605 "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
609 "publish-packages": {
612 "description": "Account token to connect to Azure Blob storage.",
614 "CloudDropAccessToken": "default"
618 "description": "Account name to connect to Azure Blob storage.",
620 "CloudDropAccountName": "default"
624 "description": "Container name to upload into in Azure Blob storage.",
626 "ContainerName": "default"
630 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
632 "__BuildArch": "default"
636 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
638 "__BuildType": "default"
642 "description": "Specifies the OS to publish packages.",
644 "__BuildOS": "default"
648 "description": "Specifies distro rid for Unix OS.",
650 "__DistroRid": "default"
653 "PublishTestNativeBins": {
654 "description": "Publishes test native binaries.",
656 "PublishTestNativeBins": "default"
660 "description": "Publishes product packages.",
662 "__PublishPackages": "default"
666 "description": "Publishes symbol packages.",
668 "__PublishSymbols": "default"
673 "toolName": "msbuild",
675 "__BuildOS": "default",
676 "Project": "./src/publish.proj",
677 "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log /clp:v=detailed"
684 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
686 "__BuildArch": "default"
690 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
692 "__BuildType": "default"
696 "description": "Specifies distro rid for Unix OS.",
698 "__DistroRid": "default"
703 "toolName": "msbuild",
705 "__BuildOS": "default",
706 "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
707 "MsBuildEventLogging": "default",
708 "PortableBuild": "true",
709 "Project": "src/.nuget/packages.builds"
718 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /nodeReuse:false",
719 "path": "Tools/msbuild.cmd"
722 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary",
723 "path": "Tools/msbuild.sh"
727 "property": "/p:{name}={value}",
728 "target": "/t:{name}",
729 "internal": "/{name}"