Kiota references required on top of generated kiota client package #7704
Unanswered
matfricker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have referenced my generated client in a project, it is a nuget package that has been published to an ADO package feed. After wiring it up I get red squiggles in Visual Studio with a
CS0012. A call similar to this:var result = await client.api.GetMethod.GetAsync();. Asking me to add a reference toMicrosoft.Kiota.AbstractionsHave I done something wrong if I need to add references to
Microsoft.Kiota...on top of the package?I have looked at the generated client dll pulled from ADO package feed in dotPeek, I can see references in there to
Microsoft.Kiotapackages... see image below (have blurred some potentially sensitive info). Doesn't seem right adding them into the project calling the client. I mention this, hoping I have packaged the client correctly :).I can add the client project as a reference in Visual Studio instead of a nuget package, that works fine.
Surely it is not by design that I need to add these packages?
If I add
Microsoft.Kiota.Abstractions...I am then asked for several other packages.Beta Was this translation helpful? Give feedback.
All reactions