diff --git a/.azure-pipelines/generation-templates/capture-openapi.yml b/.azure-pipelines/generation-templates/capture-openapi.yml
index cdd626bad..fe5ca7476 100644
--- a/.azure-pipelines/generation-templates/capture-openapi.yml
+++ b/.azure-pipelines/generation-templates/capture-openapi.yml
@@ -61,7 +61,16 @@ jobs:
persistCredentials: true
- template: checkout-metadata.yml
+
+ # required for the hidi to run
+ - template: use-dotnet-sdk.yml
+ parameters:
+ version: '8.x'
+
+ # required for the hidi installation validation
- template: use-dotnet-sdk.yml
+ parameters:
+ version: '9.x'
- pwsh: dotnet tool install --global Microsoft.OpenApi.Hidi
displayName: install hidi
diff --git a/src/GraphODataTemplateWriter/GraphODataTemplateWriter.csproj b/src/GraphODataTemplateWriter/GraphODataTemplateWriter.csproj
index ace02f0b1..278c0dd63 100644
--- a/src/GraphODataTemplateWriter/GraphODataTemplateWriter.csproj
+++ b/src/GraphODataTemplateWriter/GraphODataTemplateWriter.csproj
@@ -44,7 +44,7 @@
4.7.15
-
+
diff --git a/src/Typewriter/Typewriter.csproj b/src/Typewriter/Typewriter.csproj
index 3fd4e4983..bb36c7bee 100644
--- a/src/Typewriter/Typewriter.csproj
+++ b/src/Typewriter/Typewriter.csproj
@@ -17,8 +17,8 @@
2.9.1
-
-
+
+