Skip to content

CLI v2 not published, nuget 2.0.0 "runtime" packages published #7709

@esbenbach

Description

@esbenbach

What are you generating using Kiota, clients or plugins?

API Client/SDK

In what context or format are you using Kiota?

Windows executable

Client library/SDK language

Csharp

Describe the bug

Upgrading nuget packages for the kiota runtime resolves 2.x versions.
The latest cli is a 1.x version that generates 1.x dependencies.

This basically makes dotnet package update style commands useless in projects/solutions that use Kiota for client generation.

Please release a 2.x version of the CLI

Expected behavior

CLI and NuGet package versions should be equivalent in terms of what is generated by the cli and what is available on nuget.

How to reproduce

  1. Create any C# client using latest kiota cli (1.31.1 or some such).
  2. dotnet package update
  3. Observe that kiota runtime references are now 2.x even though the latest cli just generated the client.

Open API description file

No response

Kiota Version

2.0.0 and 1.31.1

Latest Kiota version known to work for scenario above?(Not required)

1.31.1

Known Workarounds

Dont update nuget packages.

Configuration

No response

Debug output

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CsharpPull requests that update .net codestatus:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Needs Triage 🔍

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions