Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am csdahlberg on github.
  • I am csdahlberg (https://keybase.io/csdahlberg) on keybase.
  • I have a public key ASDiBeZqMDwlWG_PTgY2lJw1rzZg2L6BwCgq6W6AxzUVmAo

To claim this, I am signing this object:

<#
.SYNOPSIS
Creates a NuGet package from a NuSpec file.
.DESCRIPTION
This is a basic script for building a NuGet package (.nupkg) from a NuSpec file (.nuspec). It is based on
the C# client code from https://github.com/NuGet/NuGet.Client, but likely does not include all functionality.
.PARAMETER NuSpecFilePath
Specifies the .nuspec file to build a NuGet package from.
.PARAMETER OutputDirectory
Specifies the directory to write the .nupkg file to. The name of the file will be determined by the package ID