CreateNewNuGetPackageFromProjectAfterEachBuild 1.8.5

Requires NuGet 2.8 or higher.

dotnet add package CreateNewNuGetPackageFromProjectAfterEachBuild --version 1.8.5                
NuGet\Install-Package CreateNewNuGetPackageFromProjectAfterEachBuild -Version 1.8.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CreateNewNuGetPackageFromProjectAfterEachBuild" Version="1.8.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CreateNewNuGetPackageFromProjectAfterEachBuild --version 1.8.5                
#r "nuget: CreateNewNuGetPackageFromProjectAfterEachBuild, 1.8.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CreateNewNuGetPackageFromProjectAfterEachBuild as a Cake Addin
#addin nuget:?package=CreateNewNuGetPackageFromProjectAfterEachBuild&version=1.8.5

// Install CreateNewNuGetPackageFromProjectAfterEachBuild as a Cake Tool
#tool nuget:?package=CreateNewNuGetPackageFromProjectAfterEachBuild&version=1.8.5                

Automatically creates a NuGet package from your project each time it builds. The NuGet package is placed in the project's output directory.
If you want to use a .nuspec file, place it in the same directory as the project's project file (e.g. .csproj, .vbproj, .fsproj).
This adds a PostBuildScripts folder to your project to house the PowerShell script that is called from the project's Post-Build event to create the NuGet package.
If it does not seem to be working, check the Output window for any errors that may have occurred.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on CreateNewNuGetPackageFromProjectAfterEachBuild:

Repository Stars
pedropaf/saas-ecom
Subscription support for ASP.NET MVC 5 apps using Stripe, including out-of-the-box view helpers. Available via NuGET
Version Downloads Last updated
1.8.5 3,041 3/23/2015
1.8.4 6,931 10/30/2014
1.8.4-alpha1 96 10/8/2014
1.8.3 2,241 8/20/2014
1.8.2 360 8/9/2014
1.8.1 526 7/15/2014
1.8.1-Prerelease3 64 7/10/2014
1.8.1-Prerelease2 76 7/5/2014
1.8.1-Prerelease1 91 6/14/2014
1.7.4-PreRelease 54 5/6/2014
1.7.3 903 3/2/2014
1.7.2 358 2/2/2014
1.7.1 207 1/18/2014
1.6.2 68 1/14/2014
1.6.1 64 1/13/2014
1.6.0 94 11/23/2013
1.5.2 67 11/7/2013
1.5.1 66 11/7/2013
1.5.0 64 10/28/2013
1.4.2 77 9/18/2013
1.4.1 64 9/18/2013
1.4.0 62 9/18/2013
1.3.0 160 7/12/2013
1.2.1 58 7/12/2013
1.2.0 59 7/12/2013
1.2.0-beta 54 7/12/2013
1.2.0-alpha 52 7/11/2013
1.1.0.1 63 7/8/2013
1.0.0 97 6/22/2013

- Provided option to have the Configuration and Platform appended to the generated .nupkg file name.
- Fixed bug around setting .nuspec file's last write time so that the build does not recompile the project every time.
- Fixed bug where error was thrown if .nuspec file did not contain a <releaseNotes> section.
- Better error handling around error thrown by NuGet.exe when user has not accepted Package Restore agreement.
- Updated comments in Config.ps1 a bit.