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": "MsBuild target that deletes the binary output directory.",
41 "valueType": "target",
46 "description": "MsBuild target that deletes the repo-local nuget package directory.",
47 "valueType": "target",
51 "CleanPackagesCache": {
52 "description": "MsBuild target that deletes the user-local nuget package cache.",
53 "valueType": "target",
58 "description": "Container name for Azure upload.",
59 "valueType": "property",
64 "description": "Blob Prefix for Azure download.",
65 "valueType": "property",
69 "MsBuildFileLogging": {
70 "description": "MsBuild logging options.",
71 "valueType": "passThrough",
73 "defaultValue": "/flp:v=normal"
75 "MsBuildEventLogging": {
76 "description": "MsBuild logging options.",
77 "valueType": "passThrough",
79 "defaultValue": "/l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
82 "description": "Specifies the OSGroup.",
83 "valueType": "property",
84 "values": [ "Windows_NT", "Linux", "Unix", "OSX", "Android" ],
85 "defaultValue": "${OSName}"
87 "RestoreNETCorePlatforms": {
88 "description": "MsBuild target that restores the NETCore packages.",
89 "valueType": "target",
94 "description": "MsBuild target that restores optimization profile data.",
95 "valueType": "target",
99 "RestoreDuringBuild": {
100 "description": "Enables/disables package restore.",
101 "valueType": "property",
102 "values": [ true, false ],
106 "description": "Project where the commands are going to be applied.",
107 "valueType": "passThrough",
112 "description": "Specifies the configuration to publish packages",
113 "valueType": "property",
114 "values": [ "release", "debug", "checked" ],
115 "defaultValue": "debug"
118 "description": "Specifies the architecture to publish packages",
119 "valueType": "property",
120 "values": [ "x64", "x86", "arm", "arm64" ],
121 "defaultValue": "${CPUArch}"
124 "description": "Specifies the OS to publish packages.",
125 "valueType": "property",
126 "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT", "Android" ],
127 "defaultValue": "${OSName}"
130 "description": "Specifies the distro rid for Unix OS.",
131 "valueType": "property",
133 "defaultValue": "${OSRid}"
136 "description": "Sets the Visual Studio version to use.",
137 "valueType": "property",
139 "defaultValue": "vs2015"
142 "description": "Directory of the dir.props file.",
143 "valueType": "property",
148 "description": "Source directory.",
149 "valueType": "property",
154 "description": "Packages directory.",
155 "valueType": "property",
160 "description": "Root bin directory.",
161 "valueType": "property",
166 "description": "Bin directory of specific OS, Arch and Type being built.",
167 "valueType": "property",
171 "__IntermediatesDir": {
172 "description": "Intermediates bin directory.",
173 "valueType": "property",
177 "__PackagesBinDir": {
178 "description": "Packages bin directory.",
179 "valueType": "property",
183 "__TestWorkingDir": {
184 "description": "Test working directory.",
185 "valueType": "property",
189 "GenerateVersionHeader": {
190 "description": "Generates _version.h",
191 "valueType": "passThrough",
193 "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
195 "GenerateVersionSourceFile": {
196 "description": "Generate version.cpp",
197 "valueType": "passThrough",
199 "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
201 "MSBuildNodeCount": {
202 "description": "Sets the value of the number of processors available for MSBuild.",
203 "valueType": "passThrough",
205 "defaultValue": "/maxcpucount"
207 "NativeVersionSourceFile": {
208 "description": "Provides location for version.cpp",
209 "valueType": "property",
213 "NativeVersionHeaderFile": {
214 "description": "Provides location for _version.h",
215 "valueType": "property",
219 "OverwriteCoreClrPackageVersion": {
220 "description": "Sets the property specifying to overwrite CoreClr Package version using OfficialBuildId",
221 "valueType": "property",
222 "values": [ true, false ],
226 "description": "Official Build Id.",
227 "valueType": "property",
232 "description": "Specifies the build type for native build.",
233 "valueType": "property",
234 "values": [ "debug", "release", "checked" ],
235 "defaultValue": "debug"
237 "EnableProfileGuidedOptimization": {
238 "description": "Enables IBC profile optimizations if profile data are available.",
239 "valueType": "property",
240 "values": [ true, false ],
241 "defaultValue": false
243 "RestoreDefaultOptimizationDataPackage": {
244 "description": "Instructs BuildTools to restore the default OptimizationData package.",
245 "valueType": "property",
246 "values": [ true, false ],
249 "UsePartialNGENOptimization": {
250 "description": "Adds the `-partialNGEN -minify` arguments when invoking IBCMerge.",
251 "valueType": "property",
252 "values": [ true, false ],
255 "OptimizationDataDir": {
256 "description": "Sets the path where the build should look for IBC profile data.",
257 "valueType": "property",
262 "description": "Set when building for arm64.",
263 "valueType": "property",
264 "values": [ true, false ],
268 "description": "Sets the build arch for native build.",
269 "valueType": "property",
270 "values": [ "x86", "x64", "arm", "arm64" ],
271 "defaultValue": "${CPUArch}"
274 "description": "Indicates if this is a portable build.",
275 "valueType": "property",
276 "values": [ "false", "true"],
277 "defaultValue": "true"
280 "description": "Specifies rebuild target.",
281 "valueType": "target",
286 "description": "Specifies build logs for build alias.",
287 "valueType": "passThrough",
292 "description": "Specifies build logs for build alias.",
293 "valueType": "passThrough",
298 "description": "Specifies build logs for build alias.",
299 "valueType": "passThrough",
303 "BuildNugetPackage": {
304 "description": "Specifies to build nuget packages.",
305 "valueType": "property",
306 "values": [ true, false ],
311 "valueType": "property",
312 "values": [ true, false ],
313 "defaultValue": false
316 "description": "Sets the SignType.",
317 "valueType": "property",
318 "values": [ "real" ],
321 "CLRTestPriorityToBuild": {
322 "description": "Sets priority to build test.",
323 "valueType": "property",
327 "CreateTestOverlay": {
328 "description": "Runs CreateTestOverlay target.",
329 "valueType": "target",
333 "CreateNonWindowsTestOverlay": {
334 "description": "Runs CreateNonWindowsTestOverlay target.",
335 "valueType": "target",
340 "description": "Sets build verbosity.",
341 "valueType": "passThrough",
343 "defaultValue": "/v:normal"
346 "description": "Runs the build target.",
347 "valueType": "target",
351 "UseSharedCompilation": {
352 "description": "Sets the use shared compilation property.",
353 "valueType": "property",
354 "values": [ true, false ],
357 "UpdateInvalidPackageVersions": {
358 "description": "Runs the target to update package versions.",
359 "valueType": "target",
363 "GenerateRuntimeLayout": {
364 "description": "Generates Core_Root folder",
365 "valueType": "property",
366 "values": [ true, false ],
369 "BuildTestsAgainstPackages": {
370 "description": "Sets the property specifying if we're building tests against packages",
371 "valueType": "property",
372 "values": [ true, false ],
376 "description": "Sets the property specifying if the tests we're building will target Windows",
377 "valueType": "property",
378 "values": [ true, false ],
381 "PublishTestNativeBins": {
382 "description": "Publishes test native binaries to Azure on non-windows",
383 "valueType": "property",
384 "values": [ true, false ],
388 "description": "Builds test Xunit wrappers",
389 "valueType": "property",
390 "values": [ true, false ],
394 "description": "Determines if we're running Crossgen tests",
395 "valueType": "property",
396 "values": [ true, false ],
400 "description": "Specifies the OS to build Core_Root for",
401 "valueType": "property",
402 "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" ],
403 "defaultValue": "${__RuntimeId}"
405 "BatchRestorePackages": {
406 "description": "MsBuild target that restores the packages.",
407 "valueType": "target",
412 "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
413 "valueType": "target",
418 "description": "Place test dependencies in bin/Product folder for building tests against",
419 "valueType": "target",
423 "CopyCrossgenToProduct": {
424 "description": "Place crossgen.exe in bin/Product folder for building tests against",
425 "valueType": "target",
429 "OptionalToolSource": {
430 "description": "URL of the nuget feed used by 'optional-tools'",
431 "valueType": "property",
435 "OptionalToolSourceUser": {
436 "description": "User name for authenticating to the optional tools feed",
437 "valueType": "property",
441 "OptionalToolSourcePassword": {
442 "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
443 "valueType": "property",
448 "description": "Extra parameters will be passed to the selected command.",
449 "valueType": "passThrough",
457 "generateHeaderWindows": {
458 "description": "Generates _version.h",
460 "GenerateVersionHeader": "default",
461 "NativeVersionHeaderFile": "default"
464 "generateHeaderUnix": {
465 "description": "Generates version.cpp",
467 "GenerateVersionSourceFile": "default",
468 "NativeVersionSourceFile": "default"
472 "description": "Sets the verbosity",
474 "Verbosity": "/v:detailed"
478 "description": "Sets the sign type.",
484 "description": "Sets buildtype.",
486 "__BuildType": "default"
490 "description": "Sets buildarch.",
492 "__BuildArch": "default"
496 "description": "Sets the OS to build.",
498 "__BuildOS": "default"
502 "description": "Runs test overlay target.",
504 "CreateTestOverlay": "default"
508 "description": "Sets CLRTestPriorityToBuild property.",
510 "CLRTestPriorityToBuild": "default"
514 "description": "Skips restoring packages during build.",
516 "RestoreDuringBuild": false
520 "description": "Runs the build target.",
527 "toolName": "msbuild",
529 "MsBuildLog": "default",
530 "MsBuildWrn": "default",
531 "MsBuildErr": "default",
532 "MsBuildEventLogging": "default",
533 "RestoreDefaultOptimizationDataPackage": "false",
534 "PortableBuild": "true",
535 "UsePartialNGENOptimization": "false",
536 "MSBuildNodeCount": "default"
543 "description": "Deletes the binary output directory.",
545 "CleanAllProjects": "default"
549 "description": "Deletes the repo-local nuget package directory.",
551 "CleanPackages": "default"
555 "description": "Deletes the user-local nuget package cache.",
557 "CleanPackagesCache": "default"
562 "toolName": "msbuild",
564 "MsBuildLog":"/flp:v=normal;LogFile=clean.log"
571 "description": "Restores all NuGet packages for repository.",
573 "Project": "./build.proj",
574 "RestoreDuringBuild": true,
575 "RestoreNETCorePlatforms": "default"
579 "description": "Restores optimization profile data for the repository.",
581 "Project": "./build.proj",
582 "RestoreDuringBuild": true,
583 "RestoreOptData": "default"
587 "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
589 "Project": "./src/syncAzure.proj"
593 "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
595 "Project": "./src/syncAzure.proj",
596 "PublishTestNativeBins": "true"
600 "description": "Account token to connect to Azure Blob storage.",
602 "CloudDropAccessToken": "default"
606 "description": "Account name to connect to Azure Blob storage.",
608 "CloudDropAccountName": "default"
612 "description": "Container name to download from in Azure Blob storage.",
614 "ContainerName": "default"
618 "description": "Blob Prefix to download from in Azure container.",
620 "__BlobNamePrefix": "default"
624 "description": "Runtime ID of the binaries in the specified container.",
626 "RuntimeId": "default"
630 "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
632 "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
636 "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
638 "BuildNumberMajor": "default"
642 "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
644 "BuildNumberMinor": "default"
649 "toolName": "msbuild",
651 "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
655 "publish-packages": {
658 "description": "Account token to connect to Azure Blob storage.",
660 "CloudDropAccessToken": "default"
664 "description": "Account name to connect to Azure Blob storage.",
666 "CloudDropAccountName": "default"
670 "description": "Container name to upload into in Azure Blob storage.",
672 "ContainerName": "default"
676 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
678 "__BuildArch": "default"
682 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
684 "__BuildType": "default"
688 "description": "Specifies the OS to publish packages.",
690 "__BuildOS": "default"
694 "description": "Specifies distro rid for Unix OS.",
696 "__DistroRid": "default"
699 "PublishTestNativeBins": {
700 "description": "Publishes test native binaries.",
702 "PublishTestNativeBins": "default"
706 "description": "Publishes product packages.",
708 "__PublishPackages": "default"
712 "description": "Publishes symbol packages.",
714 "__PublishSymbols": "default"
719 "toolName": "msbuild",
721 "__BuildOS": "default",
722 "Project": "./src/publish.proj",
723 "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log /clp:v=detailed"
730 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
732 "__BuildArch": "default"
736 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
738 "__BuildType": "default"
742 "description": "Specifies distro rid for Unix OS.",
744 "__DistroRid": "default"
749 "toolName": "msbuild",
751 "__BuildOS": "default",
752 "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
753 "MsBuildEventLogging": "default",
754 "PortableBuild": "true",
755 "Project": "src/.nuget/packages.builds"
764 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /nodeReuse:false",
765 "path": "Tools/msbuild.cmd"
768 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary",
769 "path": "Tools/msbuild.sh"
773 "property": "/p:{name}={value}",
774 "target": "/t:{name}",
775 "internal": "/{name}"