/
task.json
573 lines (573 loc) · 27.6 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
{
"id": "5541a522-603c-47ad-91fc-a4b1d163081b",
"name": "DotNetCoreCLI",
"friendlyName": ".NET Core",
"description": "Build, test, package, or publish a dotnet application, or run a custom dotnet command",
"author": "Microsoft Corporation",
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli",
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=832194) or [see the .NET Core documentation](https://docs.microsoft.com/dotnet/core/)",
"category": "Build",
"visibility": [
"Build",
"Release"
],
"runsOn": [
"Agent"
],
"demands": [],
"version": {
"Major": 2,
"Minor": 167,
"Patch": 1
},
"minimumAgentVersion": "2.115.0",
"instanceNameFormat": "dotnet $(command)",
"groups": [
{
"name": "restoreAuth",
"displayName": "Feeds and authentication",
"isExpanded": true,
"visibleRule": "command = restore"
},
{
"name": "restoreAdvanced",
"displayName": "Advanced",
"isExpanded": false,
"visibleRule": "command = restore"
},
{
"name": "pushAuth",
"displayName": "Destination feed and authentication",
"isExpanded": true,
"visibleRule": "command = push"
},
{
"name": "pushAdvanced",
"displayName": "Advanced",
"isExpanded": false,
"visibleRule": "command = push"
},
{
"name": "packOptions",
"displayName": "Pack options",
"isExpanded": false,
"visibleRule": "command = pack"
},
{
"name": "packAdvanced",
"displayName": "Advanced",
"isExpanded": false,
"visibleRule": "command = pack"
},
{
"name": "generalAdvanced",
"displayName": "Advanced",
"isExpanded": false,
"visibleRule": "command != pack && command != push && command != restore"
}
],
"inputs": [
{
"name": "command",
"type": "pickList",
"label": "Command",
"defaultValue": "build",
"required": true,
"helpMarkDown": "The dotnet command to run. Select 'Custom' to add arguments or use a command not listed here.",
"options": {
"build": "build",
"push": "nuget push",
"pack": "pack",
"publish": "publish",
"restore": "restore",
"run": "run",
"test": "test",
"custom": "custom"
},
"properties": {
"EditableOptions": "False"
}
},
{
"name": "publishWebProjects",
"type": "boolean",
"visibleRule": "command = publish",
"label": "Publish Web Projects",
"defaultValue": "true",
"required": true,
"helpMarkDown": "If true, the task will try to find the web projects in the repository and run the publish command on them. Web projects are identified by presence of either a web.config file or wwwroot folder in the directory."
},
{
"name": "projects",
"type": "multiLine",
"label": "Path to project(s)",
"defaultValue": "",
"visibleRule": "command = build || command = restore || command = run || command = test || command = custom || publishWebProjects = false",
"required": false,
"helpMarkDown": "The path to the csproj file(s) to use. You can use wildcards (e.g. **/*.csproj for all .csproj files in all subfolders)."
},
{
"name": "custom",
"type": "string",
"label": "Custom command",
"defaultValue": "",
"helpMarkDown": "The command to pass to dotnet.exe for execution.",
"required": true,
"visibleRule": "command = custom"
},
{
"name": "arguments",
"type": "string",
"label": "Arguments",
"defaultValue": "",
"visibleRule": "command = build || command = publish || command = run || command = test || command = custom",
"required": false,
"helpMarkDown": "Arguments to the selected command. For example, build configuration, output folder, runtime. The arguments depend on the command selected."
},
{
"name": "restoreArguments",
"type": "string",
"label": "Arguments",
"defaultValue": "",
"visibleRule": "command = restore",
"required": false,
"helpMarkDown": "Write the additional arguments to be passed to **restore** command."
},
{
"name": "publishTestResults",
"type": "boolean",
"label": "Publish test results and code coverage",
"defaultValue": "true",
"visibleRule": "command = test",
"required": false,
"helpMarkDown": "Enabling this option will generate a test results TRX file in `$(Agent.TempDirectory)` and results will be published to the server. <br>This option appends `--logger trx --results-directory $(Agent.TempDirectory)` to the command line arguments. <br><br>Code coverage can be collected by adding `--collect \"Code coverage\"` option to the command line arguments. This is currently only available on the Windows platform."
},
{
"name": "testRunTitle",
"type": "string",
"label": "Test run title",
"defaultValue": "",
"visibleRule": "command = test",
"required": false,
"helpMarkDown": "Provide a name for the test run."
},
{
"name": "zipAfterPublish",
"type": "boolean",
"visibleRule": "command = publish",
"label": "Zip Published Projects",
"defaultValue": "true",
"required": false,
"helpMarkDown": "If true, folder created by the publish command will be zipped."
},
{
"name": "modifyOutputPath",
"type": "boolean",
"visibleRule": "command = publish",
"label": "Add project's folder name to publish path",
"defaultValue": "true",
"required": false,
"helpMarkDown": "If true, folders created by the publish command will have project's folder name prefixed to their folder names when output path is specified explicitly in arguments. This is useful if you want to publish multiple projects to the same folder."
},
{
"name": "selectOrConfig",
"aliases": [
"feedsToUse"
],
"type": "radio",
"label": "Feeds to use",
"defaultValue": "select",
"helpMarkDown": "You can either select a feed from Azure Artifacts and/or NuGet.org here, or commit a nuget.config file to your source code repository and set its path here.",
"required": "true",
"options": {
"select": "Feed(s) I select here",
"config": "Feeds in my NuGet.config"
},
"groupName": "restoreAuth"
},
{
"name": "feedRestore",
"aliases": [
"vstsFeed"
],
"type": "pickList",
"label": "Use packages from this Azure Artifacts feed",
"defaultValue": "",
"helpMarkDown": "Include the selected feed in the generated NuGet.config. You must have Azure Artifacts installed and licensed to select a feed here.",
"required": "false",
"groupName": "restoreAuth",
"visibleRule": "selectOrConfig = select",
"properties": {
"EditableOptions": "True"
}
},
{
"name": "includeNuGetOrg",
"type": "boolean",
"label": "Use packages from NuGet.org",
"defaultValue": "true",
"helpMarkDown": "Include NuGet.org in the generated NuGet.config.",
"required": "false",
"groupName": "restoreAuth",
"visibleRule": "selectOrConfig = select"
},
{
"name": "nugetConfigPath",
"type": "filePath",
"label": "Path to NuGet.config",
"defaultValue": "",
"helpMarkDown": "The NuGet.config in your repository that specifies the feeds from which to restore packages.",
"required": "false",
"groupName": "restoreAuth",
"visibleRule": "selectOrConfig = config"
},
{
"name": "externalEndpoints",
"aliases": [
"externalFeedCredentials"
],
"type": "connectedService:ExternalNuGetFeed",
"label": "Credentials for feeds outside this organization/collection",
"required": false,
"helpMarkDown": "Credentials to use for external registries located in the selected NuGet.config. For feeds in this organization/collection, leave this blank; the build’s credentials are used automatically.",
"properties": {
"EditableOptions": "False",
"MultiSelectFlatList": "True"
},
"groupName": "restoreAuth",
"visibleRule": "selectOrConfig = config"
},
{
"name": "noCache",
"type": "boolean",
"label": "Disable local cache",
"defaultValue": "false",
"helpMarkDown": "Prevents NuGet from using packages from local machine caches.",
"required": "false",
"groupName": "restoreAdvanced"
},
{
"name": "packagesDirectory",
"aliases": [
"restoreDirectory"
],
"type": "string",
"label": "Destination directory",
"defaultValue": "",
"helpMarkDown": "Specifies the folder in which packages are installed. If no folder is specified, packages are restored into the default NuGet package cache.",
"required": "false",
"groupName": "restoreAdvanced"
},
{
"name": "verbosityRestore",
"type": "pickList",
"label": "Verbosity",
"defaultValue": "Detailed",
"helpMarkDown": "Specifies the amount of detail displayed in the output.",
"required": "false",
"groupName": "restoreAdvanced",
"options": {
"-": "-",
"Quiet": "Quiet",
"Minimal": "Minimal",
"Normal": "Normal",
"Detailed": "Detailed",
"Diagnostic": "Diagnostic"
}
},
{
"name": "searchPatternPush",
"aliases": [
"packagesToPush"
],
"type": "filePath",
"label": "Path to NuGet package(s) to publish",
"defaultValue": "$(Build.ArtifactStagingDirectory)/*.nupkg",
"helpMarkDown": "The pattern to match or path to nupkg files to be uploaded. Multiple patterns can be separated by a semicolon.",
"required": true,
"visibleRule": "command = push"
},
{
"name": "nuGetFeedType",
"type": "radio",
"label": "Target feed location",
"required": true,
"defaultValue": "internal",
"options": {
"internal": "This organization/collection",
"external": "External NuGet server (including other organizations/collections)"
},
"visibleRule": "command = push"
},
{
"name": "feedPublish",
"aliases": [
"publishVstsFeed"
],
"type": "pickList",
"label": "Target feed",
"defaultValue": "",
"required": true,
"helpMarkDown": "Select a feed hosted in this organization. You must have Azure Artifacts installed and licensed to select a feed here.",
"visibleRule": "command = push && nuGetFeedType = internal"
},
{
"name": "publishPackageMetadata",
"groupName": "pushAdvanced",
"type": "boolean",
"label": "Publish pipeline metadata",
"defaultValue": true,
"helpMarkDown": "Associate this build/release pipeline’s metadata (run #, source code information) with the package",
"visibleRule": "command = push && nuGetFeedType = internal"
},
{
"name": "externalEndpoint",
"aliases": [
"publishFeedCredentials"
],
"type": "connectedService:ExternalNuGetFeed",
"label": "NuGet server",
"required": true,
"helpMarkDown": "The NuGet service connection that contains the external NuGet server’s credentials.",
"visibleRule": "command = push && nuGetFeedType = external"
},
{
"name": "searchPatternPack",
"aliases": [
"packagesToPack"
],
"type": "filePath",
"label": "Path to csproj or nuspec file(s) to pack",
"defaultValue": "**/*.csproj",
"helpMarkDown": "Pattern to search for csproj or nuspec files to pack.\n\nYou can separate multiple patterns with a semicolon, and you can make a pattern negative by prefixing it with '!'. Example: `**/*.csproj;!**/*.Tests.csproj`",
"required": true,
"visibleRule": "command = pack"
},
{
"name": "configurationToPack",
"aliases": [
"configuration"
],
"type": "string",
"label": "Configuration to Package",
"defaultValue": "$(BuildConfiguration)",
"helpMarkDown": "When using a csproj file this specifies the configuration to package",
"required": false,
"visibleRule": "command = pack"
},
{
"name": "outputDir",
"aliases": [
"packDirectory"
],
"type": "filePath",
"label": "Package Folder",
"defaultValue": "$(Build.ArtifactStagingDirectory)",
"helpMarkDown": "Folder where packages will be created. If empty, packages will be created alongside the csproj file.",
"required": false,
"visibleRule": "command = pack"
},
{
"name": "nobuild",
"type": "boolean",
"label": "Do not build",
"defaultValue": "false",
"helpMarkDown": "Don't build the project before packing. Corresponds to the --no-build command line parameter.",
"required": false,
"visibleRule": "command = pack"
},
{
"name": "includesymbols",
"type": "boolean",
"label": "Include Symbols",
"defaultValue": "false",
"helpMarkDown": "Additionally creates symbol NuGet packages. Corresponds to the --include-symbols command line parameter.",
"required": false,
"visibleRule": "command = pack"
},
{
"name": "includesource",
"type": "boolean",
"label": "Include Source",
"defaultValue": "false",
"helpMarkDown": "Includes source code in the package. Corresponds to the --include-source command line parameter.",
"required": false,
"visibleRule": "command = pack"
},
{
"name": "versioningScheme",
"type": "pickList",
"label": "Automatic package versioning",
"defaultValue": "off",
"helpMarkDown": "Cannot be used with include referenced projects. If you choose 'Use the date and time', this will generate a [SemVer](http://semver.org/spec/v1.0.0.html)-compliant version formatted as `X.Y.Z-ci-datetime` where you choose X, Y, and Z.\n\nIf you choose 'Use an environment variable', you must select an environment variable and ensure it contains the version number you want to use.\n\nIf you choose 'Use the build number', this will use the build number to version your package. **Note:** Under Options set the build number format to be '[$(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)](https://go.microsoft.com/fwlink/?LinkID=627416)'.",
"required": true,
"groupName": "packOptions",
"options": {
"off": "Off",
"byPrereleaseNumber": "Use the date and time",
"byEnvVar": "Use an environment variable",
"byBuildNumber": "Use the build number"
}
},
{
"name": "versionEnvVar",
"type": "string",
"label": "Environment variable",
"defaultValue": "",
"helpMarkDown": "Enter the variable name without $, $env, or %.",
"required": true,
"groupName": "packOptions",
"visibleRule": "versioningScheme = byEnvVar"
},
{
"name": "requestedMajorVersion",
"aliases": [
"majorVersion"
],
"type": "string",
"label": "Major",
"defaultValue": "1",
"helpMarkDown": "The 'X' in version [X.Y.Z](http://semver.org/spec/v1.0.0.html)",
"required": true,
"groupName": "packOptions",
"visibleRule": "versioningScheme = byPrereleaseNumber"
},
{
"name": "requestedMinorVersion",
"aliases": [
"minorVersion"
],
"type": "string",
"label": "Minor",
"defaultValue": "0",
"helpMarkDown": "The 'Y' in version [X.Y.Z](http://semver.org/spec/v1.0.0.html)",
"required": true,
"groupName": "packOptions",
"visibleRule": "versioningScheme = byPrereleaseNumber"
},
{
"name": "requestedPatchVersion",
"aliases": [
"patchVersion"
],
"type": "string",
"label": "Patch",
"defaultValue": "0",
"helpMarkDown": "The 'Z' in version [X.Y.Z](http://semver.org/spec/v1.0.0.html)",
"required": true,
"groupName": "packOptions",
"visibleRule": "versioningScheme = byPrereleaseNumber"
},
{
"name": "buildProperties",
"type": "string",
"label": "Additional build properties",
"defaultValue": "",
"required": false,
"helpMarkDown": "Specifies a list of token = value pairs, separated by semicolons, where each occurrence of $token$ in the .nuspec file will be replaced with the given value. Values can be strings in quotation marks.",
"groupName": "packAdvanced"
},
{
"name": "verbosityPack",
"type": "pickList",
"label": "Verbosity",
"defaultValue": "Detailed",
"helpMarkDown": "Specifies the amount of detail displayed in the output.",
"required": "false",
"groupName": "packAdvanced",
"options": {
"-": "-",
"Quiet": "Quiet",
"Minimal": "Minimal",
"Normal": "Normal",
"Detailed": "Detailed",
"Diagnostic": "Diagnostic"
}
},
{
"name": "workingDirectory",
"type": "filePath",
"label": "Working Directory",
"helpMarkDown": "Current working directory where the script is run. Empty is the root of the repo (build) or artifacts (release), which is $(System.DefaultWorkingDirectory)",
"required": "false",
"groupName": "generalAdvanced"
}
],
"dataSourceBindings": [
{
"target": "feedRestore",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
{
"target": "feedPublish",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
],
"execution": {
"Node": {
"target": "dotnetcore.js",
"argumentFormat": ""
}
},
"messages": {
"BuildIdentityPermissionsHint": "For internal feeds, make sure the build service identity '%s' [%s] has access to the feed.",
"CouldNotSetCodePaging": "Could not set the code paging of due to following error: %s",
"Error_AutomaticallyVersionReleases": "Autoversion: Getting version number from build option is not supported in releases",
"Error_CommandNotRecognized": "The command %s was not recognized.",
"Error_NoSourceSpecifiedForPush": "No source was specified for push",
"Error_NoValueFoundForEnvVar": "No value was found for the provided environment variable.",
"Error_NoVersionFoundInBuildNumber": "Could not find version number data in the following environment variable: BUILD_BUILDNUMBER. The value of the variable should contain a substring with the following formats: X.Y.Z or X.Y.Z.A where A, X, Y, and Z are positive integers.",
"Error_PackageFailure": "An error occurred while trying to pack the files.",
"Error_PushNotARegularFile": "%s is not a file. Check the 'Path/Pattern to nupkg' property of the task.",
"Info_AttemptingToPackFile": "Attempting to pack file: ",
"Info_NoPackagesMatchedTheSearchPattern": "No packages matched the search pattern.",
"Info_NoFilesMatchedTheSearchPattern": "No files matched the search pattern.",
"PackagesFailedToInstall": "Packages failed to restore",
"PackagesFailedToPublish": "Packages failed to publish",
"PackagesInstalledSuccessfully": "Packages were restored successfully",
"PackagesPublishedSuccessfully": "Packages were published successfully",
"UnknownFeedType": "Unknown feed type '%s'",
"Warning_AutomaticallyVersionReferencedProjects": "The automatic package versioning and include referenced projects options do not work together. Referenced projects will not inherit the custom version provided by the automatic versioning settings.",
"Warning_MoreThanOneVersionInBuildNumber": "Found more than one instance of version data in BUILD_BUILDNUMBER.Assuming first instance is version.",
"dotnetCommandFailed": "Dotnet command failed with non-zero exit code on the following projects : %s",
"noProjectFilesFound": "Project file(s) matching the specified pattern were not found.",
"noPublishFolderFoundToZip": "A publish folder could not be found to zip for project file: %s.",
"noWebProjectFound": "No web project was found in the repository. Web projects are identified by presence of either a web.config file, wwwroot folder in the directory, or by the usage of Microsoft.Net.Web.Sdk in your project file. You can set Publish Web Projects property to false (publishWebProjects: false in yml) if your project doesn't follow this convention or if you want to publish projects other than web projects.",
"zipFailed": "Zip failed with error: %s",
"Error_ApiKeyNotSupported": "DotNetCore currently does not support using an encrypted Api Key.",
"Error_ExpectedConfigurationElement": "Invalid xml. Expected element named 'configuration'.",
"Error_NoMatchingFilesFoundForPattern": "No matching files were found with search pattern: %s",
"Error_NoUrlWasFoundWhichMatches": "No download URL was found for %s",
"Error_NoVersionWasFoundWhichMatches": "No version was found which matches the input %s",
"Error_NuGetToolInstallerFailer": "Tool install failed: %s",
"Info_AvailableVersions": "The available versions are: %s",
"Info_ExpectBehaviorChangeWhenUsingVersionQuery": "You are using a query match on the version string. Behavior changes or breaking changes might occur as NuGet updates to a new version.",
"Info_MatchingUrlWasFoundSettingAuth": "Using authentication information for the following URI: ",
"Info_ResolvedToolFromCache": "Resolved from tool cache: %s",
"Info_SavingTempConfig": "Saving NuGet.config to a temporary config file.",
"Info_UsingToolPath": "Using tool path: %s",
"Info_UsingVersion": "Using version: %s",
"NGCommon_AddingSources": "Setting credentials in NuGet.config",
"NGCommon_AreaNotFoundInSps": "Unable to locate the '%s' [%s] area. The service containing that area may not be available in your region.",
"NGCommon_DetectedNuGetExtensionsPath": "Detected NuGet extensions loader path (NUGET_EXTENSIONS_PATH environment variable): %s",
"NGCommon_DetectedNuGetVersion": "Detected NuGet version %s / %s",
"NGCommon_IgnoringNuGetExtensionsPath": "Detected NuGet extensions loader path (NUGET_EXTENSIONS_PATH environment variable). Extensions are ignored when using the built-in NuGet client",
"NGCommon_NoSourcesFoundInConfig": "No package sources were found in the NuGet.config file at %s",
"NGCommon_NuGetConfigIsInvalid": "The NuGet.config at %s is invalid.",
"NGCommon_NuGetConfigIsPackagesConfig": "Expected a NuGet.config file at %s, but its contents appear to be a packages.config. Check the settings for the %s task and confirm you selected NuGet.config rather than packages.config.",
"NGCommon_RemovingSources": "Preparing to set credentials in NuGet.config",
"NGCommon_SpsNotFound": "Unable to find the '%s' [%s] area. There may be a problem with your Team Foundation Server installation.",
"NGCommon_UnabletoDetectNuGetVersion": "Unknown NuGet version selected.",
"NGCommon_UnableToFindTool": "Unable to find tool %s",
"Warning_SessionCreationFailed": "Could not create provenance session: %s",
"Warning_UpdatingNuGetVersion": "Updating version of NuGet.exe to %s from %s. Behavior changes or breaking changes might occur as NuGet updates to a new version. If this is not desired, deselect the 'Check for Latest Version' option in the task.",
"NetCore3Update": "Info: Azure Pipelines hosted agents have been updated to contain .Net Core 3.x (3.0 and 3.1) SDK/Runtime along with 2.1. Unless you have locked down a SDK version for your project(s), 3.x SDK might be picked up which might have breaking behavior as compared to previous versions. \nSome commonly encountered changes are: \nIf you're using `Publish` command with -o or --Output argument, you will see that the output folder is now being created at root directory rather than Project File's directory. To learn about more such changes and troubleshoot, refer here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting",
"DeprecatingDotnet2_2": ".NET Core SDK/runtime 2.2 is now End of Line(EOL) and will be removed from all agents by end of March, 2020. If you're using 2.2 SDK/runtime, kindly upgrade to newer versions which are not EOL or use UseDotNet task to install the requied version."
}
}