Skip to content

Commit c29c4c5

Browse files
authored
Merge pull request #2165 from jmyersmsft/installerCwd
NuGet installer: run nuget.exe from dir with packages.config / .sln (M103)
2 parents 08f040c + 98f68d6 commit c29c4c5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tasks/NuGetInstaller/nugetinstaller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,5 +214,5 @@ function restorePackages(solutionFile: string, options: RestoreOptions): Q.Promi
214214
nugetTool.argString(options.extraArgs);
215215
}
216216

217-
return nugetTool.exec();
217+
return nugetTool.exec({cwd: path.dirname(solutionFile)});
218218
}

Tasks/NuGetInstaller/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"version": {
1010
"Major": 0,
1111
"Minor": 2,
12-
"Patch": 3
12+
"Patch": 4
1313
},
1414
"minimumAgentVersion": "1.83.0",
1515
"groups": [

Tasks/NuGetInstaller/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"version": {
1010
"Major": 0,
1111
"Minor": 2,
12-
"Patch": 3
12+
"Patch": 4
1313
},
1414
"minimumAgentVersion": "1.83.0",
1515
"groups": [

0 commit comments

Comments
 (0)