Skip to content

Commit

Permalink
[DotnetCoreInstaller] Export dotnet root (#7306)
Browse files Browse the repository at this point in the history
* Export dotnet root

* Bump the patch version of DotNetCoreInstallerV0

* Checkin result of node make.js build --task DotNetCoreInstallerV0
  • Loading branch information
William Li authored and hililh committed May 31, 2018
1 parent 9d9f03f commit 418f913
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Tasks/DotNetCoreInstallerV0/dotnetcoreinstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ async function getDotnetCore(packageType: string, version: string): Promise<void

// prepend the tools path. instructs the agent to prepend for future tasks
toolLib.prependPath(toolPath);
// set DOTNET_ROOT for dotnet core Apphost to find runtime since it is installed to a non well-known location.
taskLib.setVariable('DOTNET_ROOT', toolPath);
}

function getCachedToolName(packageType: string): string {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/DotNetCoreInstallerV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 0,
"Minor": 1,
"Patch": 7
"Patch": 8
},
"satisfies": ["DotNetCore"],
"demands": [],
Expand Down
2 changes: 1 addition & 1 deletion Tasks/DotNetCoreInstallerV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 0,
"Minor": 1,
"Patch": 7
"Patch": 8
},
"satisfies": [
"DotNetCore"
Expand Down

0 comments on commit 418f913

Please sign in to comment.