File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -88,18 +88,17 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver {
88
88
/**
89
89
* Acquires the .NET runtime and any other dependencies required to spawn a particular .NET executable.
90
90
* @param path The path to the entrypoint assembly. Typically a .dll.
91
- * @returns The path to the `dotnet` command to use to spawn the process.
92
91
*/
93
- private async acquireDotNetProcessDependencies ( path : string ) {
94
- const dotnetPath = await this . acquireRuntime ( ) ;
92
+ private async acquireDotNetProcessDependencies ( path : string ) : Promise < HostExecutableInformation > {
93
+ const dotnetInfo = await this . acquireRuntime ( ) ;
95
94
96
95
const args = [ path ] ;
97
96
// This will install any missing Linux dependencies.
98
97
await vscode . commands . executeCommand ( 'dotnet.ensureDotnetDependencies' , {
99
- command : dotnetPath ,
98
+ command : dotnetInfo . path ,
100
99
arguments : args ,
101
100
} ) ;
102
101
103
- return dotnetPath ;
102
+ return dotnetInfo ;
104
103
}
105
104
}
You can’t perform that action at this time.
0 commit comments