π― 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.
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
Nuget package: https://www.nuget.org/packages/MSBuild.PublishNuget.Target
Install-Package MSBuild.PublishNuget.Target
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).nuget.exe
at NuGet downloads page..csproj
and add the following property group to the file:<PropertyGroup>
<PackageAPIKey></PackageAPIKey>
<PackageServer></PackageServer>
<PackageDir></PackageDir>
<PackageIncludeReferencedProjects>true</PackageIncludeReferencedProjects>
</PropertyGroup>
.csproj
.Release
if isnβt yet.