File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 17
17
# So we avoid installing .NET in those cases.
18
18
- ${{ if eq(parameters.installDotNet, true) }} :
19
19
- task : UseDotNet@2
20
- displayName : ' Install .NET Core SDKs '
20
+ displayName : ' Install .NET SDK '
21
21
inputs :
22
- version : ' 8.x '
22
+ version : ' 8.0.403 '
23
23
24
24
- script : dotnet --info
25
25
displayName : Display dotnet info
Original file line number Diff line number Diff line change 24
24
steps :
25
25
- template : /azure-pipelines/test.yml@self
26
26
parameters :
27
- # Prefer the dotnet from the container.
28
- installDotNet : false
27
+ installDotNet : true
29
28
installAdditionalLinuxDependencies : true
30
29
npmCommand : $(npmCommand)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { getDotnetInfo } from '../shared/utils/getDotnetInfo';
16
16
import { readFile } from 'fs/promises' ;
17
17
import { RuntimeInfo } from '../shared/utils/dotnetInfo' ;
18
18
19
- export const DotNetRuntimeVersion = '8.0' ;
19
+ export const DotNetRuntimeVersion = '8.0.10 ' ;
20
20
21
21
interface IDotnetAcquireResult {
22
22
dotnetPath : string ;
@@ -166,7 +166,7 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver {
166
166
}
167
167
168
168
// Verify that the dotnet we found includes a runtime version that is compatible with our requirement.
169
- const requiredRuntimeVersion = semver . parse ( `${ DotNetRuntimeVersion } .0 ` ) ;
169
+ const requiredRuntimeVersion = semver . parse ( `${ DotNetRuntimeVersion } ` ) ;
170
170
if ( ! requiredRuntimeVersion ) {
171
171
throw new Error ( `Unable to parse minimum required version ${ DotNetRuntimeVersion } ` ) ;
172
172
}
You can’t perform that action at this time.
0 commit comments