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",
33 "MsBuildFileLogging": {
34 "description": "MsBuild logging options.",
35 "valueType": "passThrough",
37 "defaultValue": "/flp:v=normal"
39 "MsBuildEventLogging": {
40 "description": "MsBuild logging options.",
41 "valueType": "passThrough",
43 "defaultValue": "/l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
46 "description": "Specifies the OSGroup.",
47 "valueType": "property",
48 "values": [ "Windows_NT", "Linux", "Unix", "OSX" ],
49 "defaultValue": "${OSName}"
51 "RestoreNETCorePlatforms": {
52 "description": "MsBuild target that restores the NETCore packages.",
53 "valueType": "target",
58 "description": "MsBuild target that restores optimization profile data.",
59 "valueType": "target",
63 "RestoreDuringBuild": {
64 "description": "Enables/disables package restore.",
65 "valueType": "property",
66 "values": [ true, false ],
70 "description": "Project where the commands are going to be applied.",
71 "valueType": "passThrough",
76 "description": "Specifies the configuration to publish packages",
77 "valueType": "property",
78 "values": [ "release", "debug", "checked" ],
79 "defaultValue": "debug"
82 "description": "Specifies the architecture to publish packages",
83 "valueType": "property",
84 "values": [ "x64", "x86", "arm", "arm64" ],
85 "defaultValue": "${CPUArch}"
88 "description": "Specifies the OS to publish packages.",
89 "valueType": "property",
90 "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT" ],
91 "defaultValue": "${OSName}"
94 "description": "Specifies the distro rid for Unix OS.",
95 "valueType": "property",
97 "defaultValue": "${OSRid}"
100 "description": "Sets the Visual Studio version to use.",
101 "valueType": "property",
103 "defaultValue": "vs2015"
106 "description": "Directory of the dir.props file.",
107 "valueType": "property",
112 "description": "Source directory.",
113 "valueType": "property",
118 "description": "Packages directory.",
119 "valueType": "property",
124 "description": "Root bin directory.",
125 "valueType": "property",
130 "description": "Bin directory of specific OS, Arch and Type being built.",
131 "valueType": "property",
135 "__IntermediatesDir": {
136 "description": "Intermediates bin directory.",
137 "valueType": "property",
141 "__PackagesBinDir": {
142 "description": "Packages bin directory.",
143 "valueType": "property",
147 "__TestWorkingDir": {
148 "description": "Test working directory.",
149 "valueType": "property",
153 "GenerateVersionHeader": {
154 "description": "Generates _version.h",
155 "valueType": "passThrough",
157 "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
159 "GenerateVersionSourceFile": {
160 "description": "Generate version.cpp",
161 "valueType": "passThrough",
163 "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
165 "NativeVersionSourceFile": {
166 "description": "Provides location for version.cpp",
167 "valueType": "property",
171 "NativeVersionHeaderFile": {
172 "description": "Provides location for _version.h",
173 "valueType": "property",
178 "description": "Official Build Id.",
179 "valueType": "property",
184 "description": "Specifies the build type for native build.",
185 "valueType": "property",
186 "values": [ "debug", "release", "checked" ],
187 "defaultValue": "debug"
189 "EnableProfileGuidedOptimization": {
190 "description": "Enables IBC profile optimizations if profile data are available.",
191 "valueType": "property",
192 "values": [ true, false ],
193 "defaultValue": false
195 "RestoreDefaultOptimizationDataPackage": {
196 "description": "Instructs BuildTools to restore the default OptimizationData package.",
197 "valueType": "property",
198 "values": [ true, false ],
201 "UsePartialNGENOptimization": {
202 "description": "Adds the `-partialNGEN -minify` arguments when invoking IBCMerge.",
203 "valueType": "property",
204 "values": [ true, false ],
207 "OptimizationDataDir": {
208 "description": "Sets the path where the build should look for IBC profile data.",
209 "valueType": "property",
214 "description": "Set when building for arm64.",
215 "valueType": "property",
216 "values": [ true, false ],
220 "description": "Sets the build arch for native build.",
221 "valueType": "property",
222 "values": [ "x86", "x64", "arm", "arm64" ],
223 "defaultValue": "${CPUArch}"
226 "description": "Indicates if this is a portable build.",
227 "valueType": "property",
228 "values": [ "0", "1"],
232 "description": "Specifies rebuild target.",
233 "valueType": "target",
238 "description": "Specifies build logs for build alias.",
239 "valueType": "passThrough",
244 "description": "Specifies build logs for build alias.",
245 "valueType": "passThrough",
250 "description": "Specifies build logs for build alias.",
251 "valueType": "passThrough",
255 "BuildNugetPackage": {
256 "description": "Specifies to build nuget packages.",
257 "valueType": "property",
258 "values": [ true, false ],
262 "description": "Sets the SignType.",
263 "valueType": "property",
264 "values": [ "real" ],
267 "CLRTestPriorityToBuild": {
268 "description": "Sets priority to build test.",
269 "valueType": "property",
273 "CreateTestOverlay": {
274 "description": "Runs CreateTestOverlay target.",
275 "valueType": "target",
279 "CreateNonWindowsTestOverlay": {
280 "description": "Runs CreateNonWindowsTestOverlay target.",
281 "valueType": "target",
286 "description": "Sets build verbosity.",
287 "valueType": "passThrough",
289 "defaultValue": "/v:normal"
292 "description": "Runs the build target.",
293 "valueType": "target",
297 "UseSharedCompilation": {
298 "description": "Sets the use shared compilation property.",
299 "valueType": "property",
300 "values": [ true, false ],
303 "UpdateInvalidPackageVersions": {
304 "description": "Runs the target to update package versions.",
305 "valueType": "target",
309 "GenerateRuntimeLayout": {
310 "description": "Generates Core_Root folder",
311 "valueType": "property",
312 "values": [ true, false ],
315 "BuildTestsAgainstPackages": {
316 "description": "Sets the property specifying if we're building tests against packages",
317 "valueType": "property",
318 "values": [ true, false ],
322 "description": "Sets the property specifying if the tests we're building will target Windows",
323 "valueType": "property",
324 "values": [ true, false ],
327 "PublishTestNativeBins": {
328 "description": "Publishes test native binaries to Azure on non-windows",
329 "valueType": "property",
330 "values": [ true, false ],
334 "description": "Builds test Xunit wrappers",
335 "valueType": "property",
336 "values": [ true, false ],
340 "description": "Determines if we're running Crossgen tests",
341 "valueType": "property",
342 "values": [ true, false ],
346 "description": "Specifies the OS to build Core_Root for",
347 "valueType": "property",
348 "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" ],
349 "defaultValue": "${__RuntimeId}"
351 "UpdateDependencies": {
352 "description": "MsBuild target that updates project.json dependencies.",
353 "valueType": "target",
357 "BatchRestorePackages": {
358 "description": "MsBuild target that restores the packages.",
359 "valueType": "target",
364 "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
365 "valueType": "target",
370 "description": "Place test dependencies in bin/Product folder for building tests against",
371 "valueType": "target",
375 "CopyCrossgenToProduct": {
376 "description": "Place crossgen.exe in bin/Product folder for building tests against",
377 "valueType": "target",
381 "OptionalToolSource": {
382 "description": "URL of the nuget feed used by 'optional-tools'",
383 "valueType": "property",
387 "OptionalToolSourceUser": {
388 "description": "User name for authenticating to the optional tools feed",
389 "valueType": "property",
393 "OptionalToolSourcePassword": {
394 "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
395 "valueType": "property",
400 "description": "Extra parameters will be passed to the selected command.",
401 "valueType": "passThrough",
409 "generateHeaderWindows": {
410 "description": "Generates _version.h",
412 "GenerateVersionHeader": "default",
413 "NativeVersionHeaderFile": "default"
416 "generateHeaderUnix": {
417 "description": "Generates version.cpp",
419 "GenerateVersionSourceFile": "default",
420 "NativeVersionSourceFile": "default"
424 "description": "Sets the verbosity",
426 "Verbosity": "/v:detailed"
430 "description": "Sets the sign type.",
436 "description": "Sets buildtype.",
438 "__BuildType": "default"
442 "description": "Sets buildarch.",
444 "__BuildArch": "default"
448 "description": "Sets the OS to build.",
450 "__BuildOS": "default"
454 "description": "Runs test overlay target.",
456 "CreateTestOverlay": "default"
460 "description": "Sets CLRTestPriorityToBuild property.",
462 "CLRTestPriorityToBuild": "default"
466 "description": "Skips restoring packages during build.",
468 "RestoreDuringBuild": false
472 "description": "Triggers a portable build.",
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 "UsePartialNGENOptimization": "false"
499 "description": "Restores all NuGet packages for repository.",
501 "Project": "./build.proj",
502 "RestoreDuringBuild": true,
503 "RestoreNETCorePlatforms": "default"
507 "description": "Restores optimization profile data for the repository.",
509 "Project": "./build.proj",
510 "RestoreDuringBuild": true,
511 "RestoreOptData": "default"
515 "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
517 "Project": "./src/syncAzure.proj"
521 "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
523 "Project": "./src/syncAzure.proj",
524 "PublishTestNativeBins": "true"
528 "description": "Account token to connect to Azure Blob storage.",
530 "CloudDropAccessToken": "default"
534 "description": "Account name to connect to Azure Blob storage.",
536 "CloudDropAccountName": "default"
540 "description": "Container name to download from in Azure Blob storage.",
542 "__Container": "default"
546 "description": "Runtime ID of the binaries in the specified container.",
548 "RuntimeId": "default"
552 "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
554 "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
558 "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
560 "BuildNumberMajor": "default"
564 "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
566 "BuildNumberMinor": "default"
571 "toolName": "msbuild",
573 "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
577 "publish-packages": {
580 "description": "Account token to connect to Azure Blob storage.",
582 "CloudDropAccessToken": "default"
586 "description": "Account name to connect to Azure Blob storage.",
588 "CloudDropAccountName": "default"
592 "description": "Container name to upload into in Azure Blob storage.",
594 "__Container": "default"
598 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
600 "__BuildArch": "default"
604 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
606 "__BuildType": "default"
610 "description": "Specifies the OS to publish packages.",
612 "__BuildOS": "default"
616 "description": "Specifies distro rid for Unix OS.",
618 "__DistroRid": "default"
621 "PublishTestNativeBins": {
622 "description": "Publishes test native binaries.",
624 "PublishTestNativeBins": "default"
629 "toolName": "msbuild",
631 "Project": "./src/publish.proj",
632 "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
639 "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
641 "__BuildArch": "default"
645 "description": "Triggers a portable build.",
651 "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
653 "__BuildType": "default"
657 "description": "Specifies distro rid for Unix OS.",
659 "__DistroRid": "default"
664 "toolName": "msbuild",
666 "__BuildOS": "default",
667 "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
668 "MsBuildEventLogging": "default",
669 "Project": "src/.nuget/packages.builds"
678 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
679 "path": "Tools/msbuild.cmd"
682 "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount",
683 "path": "Tools/msbuild.sh"
687 "property": "/p:{name}={value}",
688 "target": "/t:{name}",
689 "internal": "/{name}"