3 "CloudDropAccessToken": {
4 "description": "Azure access token",
5 "valueType": "property",
9 "CloudDropAccountName": {
10 "description": "Azure account name.",
11 "valueType": "property",
16 "description": "Product build major number.",
17 "valueType": "property",
22 "description": "Product build minor number.",
23 "valueType": "property",
28 "description": "Container name for Azure upload.",
29 "valueType": "property",
34 "description": "Blob Prefix for Azure download.",
35 "valueType": "property",
39 "MsBuildFileLogging": {
40 "description": "MsBuild logging options.",
41 "valueType": "passThrough",
43 "defaultValue": "/flp:v=normal"
45 "MsBuildEventLogging": {
46 "description": "MsBuild logging options.",
47 "valueType": "passThrough",
49 "defaultValue": "/l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
52 "description": "Specifies the OSGroup.",
53 "valueType": "property",
54 "values": [ "Windows_NT", "Linux", "Unix", "OSX", "Android" ],
55 "defaultValue": "${OSName}"
57 "RestoreNETCorePlatforms": {
58 "description": "MsBuild target that restores the NETCore packages.",
59 "valueType": "target",
64 "description": "MsBuild target that restores optimization profile data.",
65 "valueType": "target",
69 "RestoreDuringBuild": {
70 "description": "Enables/disables package restore.",
71 "valueType": "property",
72 "values": [ true, false ],
76 "description": "Project where the commands are going to be applied.",
77 "valueType": "passThrough",
82 "description": "Specifies the configuration to publish packages",
83 "valueType": "property",
84 "values": [ "release", "debug", "checked" ],
85 "defaultValue": "debug"
88 "description": "Specifies the architecture to publish packages",
89 "valueType": "property",
90 "values": [ "x64", "x86", "arm", "arm64" ],
91 "defaultValue": "${CPUArch}"
94 "description": "Specifies the OS to publish packages.",
95 "valueType": "property",
96 "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT", "Android" ],
97 "defaultValue": "${OSName}"
100 "description": "Specifies the distro rid for Unix OS.",
101 "valueType": "property",
103 "defaultValue": "${OSRid}"
106 "description": "Sets the Visual Studio version to use.",
107 "valueType": "property",
109 "defaultValue": "vs2015"
112 "description": "Directory of the dir.props file.",
113 "valueType": "property",
118 "description": "Source directory.",
119 "valueType": "property",
124 "description": "Packages directory.",
125 "valueType": "property",
130 "description": "Root bin directory.",
131 "valueType": "property",
136 "description": "Bin directory of specific OS, Arch and Type being built.",
137 "valueType": "property",
141 "__IntermediatesDir": {
142 "description": "Intermediates bin directory.",
143 "valueType": "property",
147 "__PackagesBinDir": {
148 "description": "Packages bin directory.",
149 "valueType": "property",
153 "__TestWorkingDir": {
154 "description": "Test working directory.",
155 "valueType": "property",
159 "GenerateVersionHeader": {
160 "description": "Generates _version.h",
161 "valueType": "passThrough",
163 "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
165 "GenerateVersionSourceFile": {
166 "description": "Generate version.cpp",
167 "valueType": "passThrough",
169 "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
171 "NativeVersionSourceFile": {
172 "description": "Provides location for version.cpp",
173 "valueType": "property",
177 "NativeVersionHeaderFile": {
178 "description": "Provides location for _version.h",
179 "valueType": "property",
183 "OverwriteCoreClrPackageVersion": {
184 "description": "Sets the property specifying to overwrite CoreClr Package version using OfficialBuildId",
185 "valueType": "property",
186 "values": [ true, false ],
190 "description": "Official Build Id.",
191 "valueType": "property",
196 "description": "Specifies the build type for native build.",
197 "valueType": "property",
198 "values": [ "debug", "release", "checked" ],
199 "defaultValue": "debug"
201 "EnableProfileGuidedOptimization": {
202 "description": "Enables IBC profile optimizations if profile data are available.",
203 "valueType": "property",
204 "values": [ true, false ],
205 "defaultValue": false
207 "RestoreDefaultOptimizationDataPackage": {
208 "description": "Instructs BuildTools to restore the default OptimizationData package.",
209 "valueType": "property",
210 "values": [ true, false ],
213 "UsePartialNGENOptimization": {
214 "description": "Adds the `-partialNGEN -minify` arguments when invoking IBCMerge.",
215 "valueType": "property",
216 "values": [ true, false ],
219 "OptimizationDataDir": {
220 "description": "Sets the path where the build should look for IBC profile data.",
221 "valueType": "property",
226 "description": "Set when building for arm64.",
227 "valueType": "property",
228 "values": [ true, false ],
232 "description": "Sets the build arch for native build.",
233 "valueType": "property",
234 "values": [ "x86", "x64", "arm", "arm64" ],
235 "defaultValue": "${CPUArch}"
238 "description": "Indicates if this is a portable build.",
239 "valueType": "property",
240 "values": [ "false", "true"],
241 "defaultValue": "true"
244 "description": "Specifies rebuild target.",
245 "valueType": "target",
250 "description": "Specifies build logs for build alias.",
251 "valueType": "passThrough",
256 "description": "Specifies build logs for build alias.",
257 "valueType": "passThrough",
262 "description": "Specifies build logs for build alias.",
263 "valueType": "passThrough",
267 "BuildNugetPackage": {
268 "description": "Specifies to build nuget packages.",
269 "valueType": "property",
270 "values": [ true, false ],
274 "description": "Sets the SignType.",
275 "valueType": "property",
276 "values": [ "real" ],
279 "CLRTestPriorityToBuild": {
280 "description": "Sets priority to build test.",
281 "valueType": "property",
285 "CreateTestOverlay": {
286 "description": "Runs CreateTestOverlay target.",
287 "valueType": "target",
291 "CreateNonWindowsTestOverlay": {
292 "description": "Runs CreateNonWindowsTestOverlay target.",
293 "valueType": "target",
298 "description": "Sets build verbosity.",
299 "valueType": "passThrough",
301 "defaultValue": "/v:normal"
304 "description": "Runs the build target.",
305 "valueType": "target",
309 "UseSharedCompilation": {
310 "description": "Sets the use shared compilation property.",
311 "valueType": "property",
312 "values": [ true, false ],
315 "UpdateInvalidPackageVersions": {
316 "description": "Runs the target to update package versions.",
317 "valueType": "target",
321 "GenerateRuntimeLayout": {
322 "description": "Generates Core_Root folder",
323 "valueType": "property",
324 "values": [ true, false ],
327 "BuildTestsAgainstPackages": {
328 "description": "Sets the property specifying if we're building tests against packages",
329 "valueType": "property",
330 "values": [ true, false ],
334 "description": "Sets the property specifying if the tests we're building will target Windows",
335 "valueType": "property",
336 "values": [ true, false ],
339 "PublishTestNativeBins": {
340 "description": "Publishes test native binaries to Azure on non-windows",
341 "valueType": "property",
342 "values": [ true, false ],
346 "description": "Builds test Xunit wrappers",
347 "valueType": "property",
348 "values": [ true, false ],
352 "description": "Determines if we're running Crossgen tests",
353 "valueType": "property",
354 "values": [ true, false ],
358 "description": "Specifies the OS to build Core_Root for",
359 "valueType": "property",
360 "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" ],
361 "defaultValue": "${__RuntimeId}"
363 "BatchRestorePackages": {
364 "description": "MsBuild target that restores the packages.",
365 "valueType": "target",
370 "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
371 "valueType": "target",
376 "description": "Place test dependencies in bin/Product folder for building tests against",
377 "valueType": "target",
381 "CopyCrossgenToProduct": {
382 "description": "Place crossgen.exe in bin/Product folder for building tests against",
383 "valueType": "target",
387 "OptionalToolSource": {
388 "description": "URL of the nuget feed used by 'optional-tools'",
389 "valueType": "property",
393 "OptionalToolSourceUser": {
394 "description": "User name for authenticating to the optional tools feed",
395 "valueType": "property",
399 "OptionalToolSourcePassword": {
400 "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
401 "valueType": "property",
406 "description": "Extra parameters will be passed to the selected command.",
407 "valueType": "passThrough",
415 "generateHeaderWindows": {
416 "description": "Generates _version.h",
418 "GenerateVersionHeader": "default",
419 "NativeVersionHeaderFile": "default"
422 "generateHeaderUnix": {
423 "description": "Generates version.cpp",
425 "GenerateVersionSourceFile": "default",
426 "NativeVersionSourceFile": "default"
430 "description": "Sets the verbosity",
432 "Verbosity": "/v:detailed"
436 "description": "Sets the sign type.",
442 "description": "Sets buildtype.",
444 "__BuildType": "default"
448 "description": "Sets buildarch.",
450 "__BuildArch": "default"
454 "description": "Sets the OS to build.",
456 "__BuildOS": "default"
460 "description": "Runs test overlay target.",
462 "CreateTestOverlay": "default"
466 "description": "Sets CLRTestPriorityToBuild property.",
468 "CLRTestPriorityToBuild": "default"
472 "description": "Skips restoring packages during build.",
474 "RestoreDuringBuild": false
478 "description": "Runs the build target.",
485 "toolName": "msbuild",
487 "MsBuildLog": "default",
488 "MsBuildWrn": "default",
489 "MsBuildErr": "default",
490 "MsBuildEventLogging": "default",
491 "RestoreDefaultOptimizationDataPackage": "false",
492 "PortableBuild": "true",
493 "UsePartialNGENOptimization": "false"
500 "description": "Restores all NuGet packages for repository.",
502 "Project": "./build.proj",
503 "RestoreDuringBuild": true,
504 "RestoreNETCorePlatforms": "default"
508 "description": "Restores optimization profile data for the repository.",
510 "Project": "./build.proj",
511 "RestoreDuringBuild": true,
512 "RestoreOptData": "default"
516 "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
518 "Project": "./src/syncAzure.proj"
522 "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
524 "Project": "./src/syncAzure.proj",
525 "PublishTestNativeBins": "true"
529 "description": "Account token to connect to Azure Blob storage.",
531 "CloudDropAccessToken": "default"
535 "description": "Account name to connect to Azure Blob storage.",
537 "CloudDropAccountName": "default"
541 "description": "Container name to download from in Azure Blob storage.",
543 "__Container": "default"
547 "description": "Blob Prefix to download from in Azure container.",
549 "__BlobNamePrefix": "default"
553 "description": "Runtime ID of the binaries in the specified container.",
555 "RuntimeId": "default"
559 "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
561 "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
565 "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
567 "BuildNumberMajor": "default"
571 "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
573 "BuildNumberMinor": "default"
578 "toolName": "msbuild",
580 "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
584 "publish-packages": {
587 "description": "Account token to connect to Azure Blob storage.",
589 "CloudDropAccessToken": "default"
593 "description": "Account name to connect to Azure Blob storage.",
595 "CloudDropAccountName": "default"
599 "description": "Container name to upload into in Azure Blob storage.",
601 "__Container": "default"
605 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
607 "__BuildArch": "default"
611 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
613 "__BuildType": "default"
617 "description": "Specifies the OS to publish packages.",
619 "__BuildOS": "default"
623 "description": "Specifies distro rid for Unix OS.",
625 "__DistroRid": "default"
628 "PublishTestNativeBins": {
629 "description": "Publishes test native binaries.",
631 "PublishTestNativeBins": "default"
636 "toolName": "msbuild",
638 "__BuildOS": "default",
639 "Project": "./src/publish.proj",
640 "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
647 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
649 "__BuildArch": "default"
653 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
655 "__BuildType": "default"
659 "description": "Specifies distro rid for Unix OS.",
661 "__DistroRid": "default"
666 "toolName": "msbuild",
668 "__BuildOS": "default",
669 "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
670 "MsBuildEventLogging": "default",
671 "PortableBuild": "true",
672 "Project": "src/.nuget/packages.builds"
681 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
682 "path": "Tools/msbuild.cmd"
685 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount",
686 "path": "Tools/msbuild.sh"
690 "property": "/p:{name}={value}",
691 "target": "/t:{name}",
692 "internal": "/{name}"