diff --git a/.azure-pipelines/generation-templates/build-and-publish-kiota.yml b/.azure-pipelines/generation-templates/build-and-publish-kiota.yml index e33ce0e71..3cbf74aad 100644 --- a/.azure-pipelines/generation-templates/build-and-publish-kiota.yml +++ b/.azure-pipelines/generation-templates/build-and-publish-kiota.yml @@ -1,5 +1,7 @@ steps: - template: use-dotnet-sdk.yml + parameters: + version: "9.x" #kiota uses a net9 target - checkout: kiota displayName: checkout kiota @@ -10,7 +12,7 @@ steps: - task: CopyFiles@2 inputs: - sourceFolder: '$(Build.SourcesDirectory)/src/kiota/bin/$(BuildConfiguration)/net8.0' + sourceFolder: '$(Build.SourcesDirectory)/src/kiota/bin/$(BuildConfiguration)/net9.0' contents: '**/*' targetFolder: '$(Build.ArtifactStagingDirectory)' displayName: Copy Kiota executable diff --git a/.azure-pipelines/generation-templates/set-up-for-generation-kiota.yml b/.azure-pipelines/generation-templates/set-up-for-generation-kiota.yml index 6956a81a9..62b8eb9e5 100644 --- a/.azure-pipelines/generation-templates/set-up-for-generation-kiota.yml +++ b/.azure-pipelines/generation-templates/set-up-for-generation-kiota.yml @@ -10,6 +10,8 @@ parameters: steps: - template: set-user-config.yml - template: use-dotnet-sdk.yml + parameters: + version: "9.x" #kiota uses a net9 target - ${{ parameters.downloadSteps }}