Is there a way to specify the NuGet package ID when running 'kpm build'?

72 views Asked by At

When running kpm build against a project folder, the project.json metadata for the following fields is transferred to the output .nupkg file:

  • Version
  • Authors
  • Description

However, there does not seem to be a way to override the package ID or title (which defaults to the name of the containing folder).

Is this possible or is it necessary to produce a nuspec file through some other means in order to achieve this?

1

There are 1 answers

3
Victor Hurdugaci On BEST ANSWER

Sorry, it is not possible to specify a different name.

What's the scenario in which you need a different name?