You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Csharp
Describe the bug
When I run kiota info -d <my openapi url> -l Csharp I got this packages list in the output:
Package Name Version
Microsoft.Kiota.Abstractions 1.9.0
Microsoft.Kiota.Authentication.Azure 1.1.7
Microsoft.Kiota.Http.HttpClientLibrary 1.4.3
Microsoft.Kiota.Serialization.Form 1.2.4
Microsoft.Kiota.Serialization.Json 1.3.3
Microsoft.Kiota.Serialization.Multipart 1.1.5
Microsoft.Kiota.Serialization.Text 1.2.2
If I add these specific versions, my project will fail to restore nuget packages because some of them require a higher version of Microsoft.Kiota.Abstractions. This is the error list with Detected package downgrade: Microsoft.Kiota.Abstractions from 1.9.1 to 1.9.0:
Runtime exception searching for Microsoft.Kiota.Abstractions v1.9.1
But kiota.info produces the following:
The language CSharp is currently in Stable maturity level.
After generating code for this language, you need to install the following packages:
Package Name Version
Microsoft.Kiota.Abstractions 1.9.7
Microsoft.Kiota.Authentication.Azure 1.1.7
Microsoft.Kiota.Http.HttpClientLibrary 1.4.3
Microsoft.Kiota.Serialization.Form 1.2.5
Microsoft.Kiota.Serialization.Json 1.3.3
Microsoft.Kiota.Serialization.Multipart 1.1.5
Microsoft.Kiota.Serialization.Text 1.2.2
Downgrading to v1.9.1 produces compiler error in GetAsync() method:
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Csharp
Describe the bug
When I run
kiota info -d <my openapi url> -l Csharp
I got this packages list in the output:If I add these specific versions, my project will fail to restore nuget packages because some of them require a higher version of
Microsoft.Kiota.Abstractions
. This is the error list withDetected package downgrade: Microsoft.Kiota.Abstractions from 1.9.1 to 1.9.0
:I generating my api client on an automated task, therefore I rely on the
kiota info
command output.Expected behavior
Get the correct version for
Microsoft.Kiota.Abstractions
nuget package when runningkiota info
How to reproduce
Run
kiota info -d <my openapi url> -l Csharp
Open API description file
No response
Kiota Version
1.15.0+b535a94064cd8c14a022aaba42964467d5db525a
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
Install packages manually without specifying a version
Configuration
Linux Ubuntu x64
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: