MSBuild.PublishNuget.Target 5.0.33

Requires NuGet 2.5 or higher.

dotnet add package MSBuild.PublishNuget.Target --version 5.0.33
NuGet\Install-Package MSBuild.PublishNuget.Target -Version 5.0.33
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="MSBuild.PublishNuget.Target" Version="5.0.33" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuild.PublishNuget.Target --version 5.0.33
#r "nuget: MSBuild.PublishNuget.Target, 5.0.33"
#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 MSBuild.PublishNuget.Target as a Cake Addin
#addin nuget:?package=MSBuild.PublishNuget.Target&version=5.0.33

// Install MSBuild.PublishNuget.Target as a Cake Tool
#tool nuget:?package=MSBuild.PublishNuget.Target&version=5.0.33

MSBuild.PublishNuget.Target

wakatime Build status MSBuild.PublishNuget.Target NuGet Version MSBuild.PublishNuget.Target NuGet Downloads

Maintainability Test Coverage CodeFactor

Provides a NuGet package that adds functionality to your project to auto pack and publish to a private nuget server the project as a nuget package.

Remarks: This works only with nuget.exe executable and is designed for .NET Framework projects. Not for .NET Core


Installation

Nuget package: https://www.nuget.org/packages/MSBuild.PublishNuget.Target

Install-Package MSBuild.PublishNuget.Target

Instructions

  • Add the package to the project.
  • Make sure you have the nuget.exe executable in your path (i.e. Open a command prompt and type nuget help and check if the version of nuget is displayed).
  • You can download the most recent version of nuget.exeat NuGet downloads page.
  • Open your .csproj and add the following property group to the file:
<PropertyGroup>
    <PackageAPIKey>{{YOUR PRIVATE NUGET FEED KEY}}</PackageAPIKey>
    <PackageServer>{{YOUR PRIVATE NUGET FEED URL}}</PackageServer>
    <PackageDir>{{ DIRECTORY TO GENERATE THE .NUPKG }}</PackageDir>
    <PackageIncludeReferencedProjects>true</PackageIncludeReferencedProjects>
</PropertyGroup>
  • Put your own data (Feed API Key and Feed Url).
  • Set the directory where the package will be generated
  • Set true or false toinclude referenced projects (if ommited will be set to false)
  • Save the .csproj.
  • On Visual Studio, change the current configuration to Release if isn't yet.
  • Build!
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.33 217 12/14/2023
5.0.27 255 11/9/2023
5.0.22 224 9/23/2023
5.0.17 199 9/23/2023
5.0.14 191 9/20/2023
5.0.11 596 7/24/2023
5.0.8 200 7/19/2023
5.0.5 164 7/17/2023
5.0.2 385 6/30/2023
4.0.62 476 6/6/2023
4.0.43 511 5/4/2023
4.0.42 185 5/3/2023
4.0.37 384 4/4/2023
4.0.32 277 4/3/2023
4.0.22 636 1/24/2023
4.0.21 1,035 9/13/2022
3.0.36 482 9/13/2022
3.0.31 436 9/13/2022
3.0.26 822 7/26/2020
3.0.25 517 6/27/2020
3.0.20 481 6/27/2020
3.0.16 522 6/27/2020