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 1717# So we avoid installing .NET in those cases.
1818- ${{ if eq(parameters.installDotNet, true) }} :
1919 - task : UseDotNet@2
20- displayName : ' Install .NET Core SDKs '
20+ displayName : ' Install .NET SDK '
2121 inputs :
22- version : ' 8.x '
22+ version : ' 8.0.403 '
2323
2424- script : dotnet --info
2525 displayName : Display dotnet info
Original file line number Diff line number Diff line change 2424 steps :
2525 - template : /azure-pipelines/test.yml@self
2626 parameters :
27- # Prefer the dotnet from the container.
28- installDotNet : false
27+ installDotNet : true
2928 installAdditionalLinuxDependencies : true
3029 npmCommand : $(npmCommand)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { getDotnetInfo } from '../shared/utils/getDotnetInfo';
1616import { readFile } from 'fs/promises' ;
1717import { RuntimeInfo } from '../shared/utils/dotnetInfo' ;
1818
19- export const DotNetRuntimeVersion = '8.0' ;
19+ export const DotNetRuntimeVersion = '8.0.10 ' ;
2020
2121interface IDotnetAcquireResult {
2222 dotnetPath : string ;
@@ -166,7 +166,7 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver {
166166 }
167167
168168 // 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 } ` ) ;
170170 if ( ! requiredRuntimeVersion ) {
171171 throw new Error ( `Unable to parse minimum required version ${ DotNetRuntimeVersion } ` ) ;
172172 }
You can’t perform that action at this time.
0 commit comments