diff --git a/Tasks/NuGetRestoreV1/Tests/L0.ts b/Tasks/NuGetRestoreV1/Tests/L0.ts index ac441037adf0..fe48b0d951a7 100644 --- a/Tasks/NuGetRestoreV1/Tests/L0.ts +++ b/Tasks/NuGetRestoreV1/Tests/L0.ts @@ -9,7 +9,7 @@ describe('NuGetRestore Suite', function () { after(() => { }); it('restore single solution', (done: Mocha.Done) => { - this.timeout(1000); + this.timeout(10000); let tp = path.join(__dirname, 'singlesln.js') let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp); diff --git a/Tasks/NuGetRestoreV1/nugetinstaller.ts b/Tasks/NuGetRestoreV1/nugetinstaller.ts index 792ddf70cabf..107a959c7b14 100644 --- a/Tasks/NuGetRestoreV1/nugetinstaller.ts +++ b/Tasks/NuGetRestoreV1/nugetinstaller.ts @@ -30,6 +30,7 @@ class RestoreOptions implements INuGetCommandOptions { } async function main(): Promise { + tl.warning("This task will be deprecated soon. Please switch to using NuGetCommand@2's 'restore' option"); let packagingLocation: pkgLocationUtils.PackagingLocation; try { tl.debug("getting the uris"); diff --git a/Tasks/NuGetRestoreV1/task.json b/Tasks/NuGetRestoreV1/task.json index 3eb77560dfe4..ae72e6ce4c6c 100644 --- a/Tasks/NuGetRestoreV1/task.json +++ b/Tasks/NuGetRestoreV1/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 223, + "Minor": 226, "Patch": 0 }, "runsOn": [ @@ -17,6 +17,7 @@ "DeploymentGroup" ], "minimumAgentVersion": "2.144.0", + "deprecated": true, "groups": [ { "name": "advanced", diff --git a/Tasks/NuGetRestoreV1/task.loc.json b/Tasks/NuGetRestoreV1/task.loc.json index bd58fdbf0893..23981c6e330a 100644 --- a/Tasks/NuGetRestoreV1/task.loc.json +++ b/Tasks/NuGetRestoreV1/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 223, + "Minor": 226, "Patch": 0 }, "runsOn": [ @@ -17,6 +17,7 @@ "DeploymentGroup" ], "minimumAgentVersion": "2.144.0", + "deprecated": true, "groups": [ { "name": "advanced",