File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,10 +137,14 @@ extends:
137137 -SkipNonVersionedFiles
138138 displayName: Install latest daily .NET version
139139
140- - bash : >
141- $(Build.SourcesDirectory)/.dotnet/dotnet run --framework net11.0 --no-build
142- --project $(Build.SourcesDirectory)/tools/Microsoft.TemplateSearch.TemplateDiscovery/Microsoft.TemplateSearch.TemplateDiscovery.csproj
143- -- --basePath $(System.DefaultWorkingDirectory)/NugetDownloadDirectory --allowPreviewPacks -v --test --diff $(EnableDiffMode)
140+ - bash : |
141+ projectPath=$(Build.SourcesDirectory)/tools/Microsoft.TemplateSearch.TemplateDiscovery/Microsoft.TemplateSearch.TemplateDiscovery.csproj
142+ netCurrent=$($(Build.SourcesDirectory)/.dotnet/dotnet msbuild $projectPath -getProperty:NetCurrent)
143+ echo "Resolved NetCurrent: $netCurrent"
144+ $(Build.SourcesDirectory)/.dotnet/dotnet run --no-build \
145+ --framework $netCurrent \
146+ --project $projectPath \
147+ -- --basePath $(System.DefaultWorkingDirectory)/NugetDownloadDirectory --allowPreviewPacks -v --test --diff $(EnableDiffMode)
144148 displayName: Run Cache Updater
145149
146150 - task : CopyFiles@2
You can’t perform that action at this time.
0 commit comments