To create a NuGet package from a project, run this command from a directory that contains project.json:
dotnet pack
The resulting .nupkg file will be named and versioned according to the properties in project.json. If there are multiple frameworks targeted in the project file, the package will s...