Creating A .nuspec file is an XML manifest that contains package metadata. This is used both to build the package and to provide information to consumers. The manifest is always included in a package.
Create a .nuspec file To create a new .nuspec file within a project, open a command line at the root of the project directory and enter the following command:
nuget spec If the project file is already setup, pass the project filename with the command to include some standard tokens: