Skip to content

Commit 9daad7d

Browse files
authored
[DotnetCoreInstaller] Export dotnet root (#7306) (#7337)
* Export dotnet root * Bump the patch version of DotNetCoreInstallerV0 * Checkin result of node make.js build --task DotNetCoreInstallerV0
1 parent 9d9f03f commit 9daad7d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Tasks/DotNetCoreInstallerV0/dotnetcoreinstaller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ async function getDotnetCore(packageType: string, version: string): Promise<void
3232

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

3739
function getCachedToolName(packageType: string): string {

Tasks/DotNetCoreInstallerV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 0,
1515
"Minor": 1,
16-
"Patch": 7
16+
"Patch": 8
1717
},
1818
"satisfies": ["DotNetCore"],
1919
"demands": [],

Tasks/DotNetCoreInstallerV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 0,
1515
"Minor": 1,
16-
"Patch": 7
16+
"Patch": 8
1717
},
1818
"satisfies": [
1919
"DotNetCore"

0 commit comments

Comments
 (0)