Search code examples
asp.net-corekpm

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


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?


Solution

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

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