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}"
88 "description": "MsBuild target that restores the 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 "__DoCrossArchBuild": {
190 "description": "Specifies if we build cross-architecture components on Linux.",
191 "valueType": "property",
195 "GenerateVersionHeader": {
196 "description": "Generates _version.h",
197 "valueType": "passThrough",
199 "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
201 "GenerateVersionSourceFile": {
202 "description": "Generate version.cpp",
203 "valueType": "passThrough",
205 "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
207 "MSBuildNodeCount": {
208 "description": "Sets the value of the number of processors available for MSBuild.",
209 "valueType": "passThrough",
211 "defaultValue": "/maxcpucount"
213 "NativeVersionSourceFile": {
214 "description": "Provides location for version.cpp",
215 "valueType": "property",
219 "NativeVersionHeaderFile": {
220 "description": "Provides location for _version.h",
221 "valueType": "property",
225 "OverwriteCoreClrPackageVersion": {
226 "description": "Sets the property specifying to overwrite CoreClr Package version using OfficialBuildId",
227 "valueType": "property",
228 "values": [ true, false ],
232 "description": "Official Build Id.",
233 "valueType": "property",
238 "description": "Specifies the build type for native build.",
239 "valueType": "property",
240 "values": [ "debug", "release", "checked" ],
241 "defaultValue": "debug"
243 "EnableProfileGuidedOptimization": {
244 "description": "Enables IBC profile optimizations if profile data are available.",
245 "valueType": "property",
246 "values": [ true, false ],
247 "defaultValue": false
249 "RestoreDefaultOptimizationDataPackage": {
250 "description": "Instructs BuildTools to restore the default OptimizationData package.",
251 "valueType": "property",
252 "values": [ true, false ],
255 "UsePartialNGENOptimization": {
256 "description": "Adds the `-partialNGEN -minify` arguments when invoking IBCMerge.",
257 "valueType": "property",
258 "values": [ true, false ],
261 "OptimizationDataDir": {
262 "description": "Sets the path where the build should look for IBC profile data.",
263 "valueType": "property",
268 "description": "Set when building for arm64.",
269 "valueType": "property",
270 "values": [ true, false ],
274 "description": "Sets the build arch for native build.",
275 "valueType": "property",
276 "values": [ "x86", "x64", "arm", "arm64" ],
277 "defaultValue": "${CPUArch}"
280 "description": "Indicates if this is a portable build.",
281 "valueType": "property",
282 "values": [ "false", "true"],
283 "defaultValue": "true"
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
315 "BuildManagedTools": {
317 "valueType": "property",
318 "values": [ true, false ],
322 "description": "Sets the SignType.",
323 "valueType": "property",
324 "values": [ "real" ],
327 "CLRTestPriorityToBuild": {
328 "description": "Sets priority to build test.",
329 "valueType": "property",
333 "CreateTestOverlay": {
334 "description": "Runs CreateTestOverlay target.",
335 "valueType": "target",
339 "CreateNonWindowsTestOverlay": {
340 "description": "Runs CreateNonWindowsTestOverlay target.",
341 "valueType": "target",
346 "description": "Place test dependencies in the /bin/testhost folder to be used to run CoreFX tests",
347 "valueType": "target",
352 "description": "Sets build verbosity.",
353 "valueType": "passThrough",
355 "defaultValue": "/v:normal"
358 "description": "Runs the build target.",
359 "valueType": "target",
363 "UseSharedCompilation": {
364 "description": "Sets the use shared compilation property.",
365 "valueType": "property",
366 "values": [ true, false ],
369 "UpdateInvalidPackageVersions": {
370 "description": "Runs the target to update package versions.",
371 "valueType": "target",
375 "GenerateRuntimeLayout": {
376 "description": "Generates Core_Root folder",
377 "valueType": "property",
378 "values": [ true, false ],
381 "BuildTestsAgainstPackages": {
382 "description": "Sets the property specifying if we're building tests against packages",
383 "valueType": "property",
384 "values": [ true, false ],
388 "description": "Sets the property specifying if the tests we're building will target Windows",
389 "valueType": "property",
390 "values": [ true, false ],
393 "PublishTestNativeBins": {
394 "description": "Publishes test native binaries to Azure on non-windows",
395 "valueType": "property",
396 "values": [ true, false ],
400 "description": "Builds test Xunit wrappers",
401 "valueType": "property",
402 "values": [ true, false ],
406 "description": "Determines if we're running Crossgen tests",
407 "valueType": "property",
408 "values": [ true, false ],
412 "description": "Specifies the OS to build Core_Root for",
413 "valueType": "property",
414 "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" ],
415 "defaultValue": "${__RuntimeId}"
417 "BatchRestorePackages": {
418 "description": "MsBuild target that restores the packages.",
419 "valueType": "target",
424 "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
425 "valueType": "target",
430 "description": "Place test dependencies in bin/Product folder for building tests against",
431 "valueType": "target",
435 "CopyCrossgenToProduct": {
436 "description": "Place crossgen.exe in bin/Product folder for building tests against",
437 "valueType": "target",
441 "OptionalToolSource": {
442 "description": "URL of the nuget feed used by 'optional-tools'",
443 "valueType": "property",
447 "OptionalToolSourceUser": {
448 "description": "User name for authenticating to the optional tools feed",
449 "valueType": "property",
453 "OptionalToolSourcePassword": {
454 "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
455 "valueType": "property",
460 "description": "Extra parameters will be passed to the selected command.",
461 "valueType": "passThrough",
469 "generateHeaderWindows": {
470 "description": "Generates _version.h",
472 "GenerateVersionHeader": "default",
473 "NativeVersionHeaderFile": "default"
476 "generateHeaderUnix": {
477 "description": "Generates version.cpp",
479 "GenerateVersionSourceFile": "default",
480 "NativeVersionSourceFile": "default"
484 "description": "Sets the verbosity",
486 "Verbosity": "/v:detailed"
490 "description": "Sets the sign type.",
496 "description": "Sets buildtype.",
498 "__BuildType": "default"
502 "description": "Sets buildarch.",
504 "__BuildArch": "default"
508 "description": "Sets the OS to build.",
510 "__BuildOS": "default"
514 "description": "Runs test overlay target.",
516 "CreateTestOverlay": "default"
520 "description": "Runs test host target, which creates a dotnet executable from the built CoreCLR repo to run pre-built CoreFX test assemblies",
522 "CreateTestHost": "default"
526 "description": "Sets CLRTestPriorityToBuild property.",
528 "CLRTestPriorityToBuild": "default"
532 "description": "Skips restoring packages during build.",
534 "RestoreDuringBuild": false
538 "description": "Runs the build target.",
544 "description": "Restores optimization profile data for the repository.",
546 "Project": "./build.proj",
547 "RestoreOptData": "default",
548 "MsBuildEventLogging": " ",
553 "toolName": "msbuild",
555 "MsBuildLog": "default",
556 "MsBuildWrn": "default",
557 "MsBuildErr": "default",
558 "MsBuildEventLogging": "default",
559 "RestoreDefaultOptimizationDataPackage": "false",
560 "PortableBuild": "true",
561 "UsePartialNGENOptimization": "false",
562 "MSBuildNodeCount": "default"
569 "description": "Deletes the binary output directory.",
571 "CleanAllProjects": "default"
575 "description": "Deletes the repo-local nuget package directory.",
577 "CleanPackages": "default"
581 "description": "Deletes the user-local nuget package cache.",
583 "CleanPackagesCache": "default"
588 "toolName": "msbuild",
590 "MsBuildLog":"/flp:v=normal;LogFile=clean.log"
597 "description": "Restores all NuGet packages for repository.",
599 "Project": "./build.proj",
600 "RestoreDuringBuild": true,
605 "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
607 "Project": "./src/syncAzure.proj"
611 "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
613 "Project": "./src/syncAzure.proj",
614 "PublishTestNativeBins": "true"
618 "description": "Account token to connect to Azure Blob storage.",
620 "CloudDropAccessToken": "default"
624 "description": "Account name to connect to Azure Blob storage.",
626 "CloudDropAccountName": "default"
630 "description": "Container name to download from in Azure Blob storage.",
632 "ContainerName": "default"
636 "description": "Blob Prefix to download from in Azure container.",
638 "__BlobNamePrefix": "default"
642 "description": "Runtime ID of the binaries in the specified container.",
644 "RuntimeId": "default"
648 "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
650 "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
654 "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
656 "BuildNumberMajor": "default"
660 "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
662 "BuildNumberMinor": "default"
666 "description": "Sets buildtype.",
668 "__BuildType": "default"
673 "toolName": "msbuild",
675 "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
679 "publish-packages": {
682 "description": "Account token to connect to Azure Blob storage.",
684 "CloudDropAccessToken": "default"
688 "description": "Account name to connect to Azure Blob storage.",
690 "CloudDropAccountName": "default"
694 "description": "Container name to upload into in Azure Blob storage.",
696 "ContainerName": "default"
700 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
702 "__BuildArch": "default"
706 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
708 "__BuildType": "default"
712 "description": "Specifies the OS to publish packages.",
714 "__BuildOS": "default"
718 "description": "Specifies distro rid for Unix OS.",
720 "__DistroRid": "default"
723 "PublishTestNativeBins": {
724 "description": "Publishes test native binaries.",
726 "PublishTestNativeBins": "default"
730 "description": "Publishes product packages.",
732 "__PublishPackages": "default"
736 "description": "Publishes symbol packages.",
738 "__PublishSymbols": "default"
743 "toolName": "msbuild",
745 "__BuildOS": "default",
746 "Project": "./src/publish.proj",
747 "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log /clp:v=detailed"
754 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
756 "__BuildArch": "default"
760 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
762 "__BuildType": "default"
766 "description": "Specifies distro rid for Unix OS.",
768 "__DistroRid": "default"
773 "toolName": "msbuild",
775 "__BuildOS": "default",
776 "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
777 "MsBuildEventLogging": "default",
778 "PortableBuild": "true",
779 "Project": "src/.nuget/packages.builds"
788 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /nodeReuse:false",
789 "path": "Tools/msbuild.cmd"
792 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary",
793 "path": "Tools/msbuild.sh"
797 "property": "/p:{name}={value}",
798 "target": "/t:{name}",
799 "internal": "/{name}"