Grapeyard.Labs.Nuke.Launchpad.Common 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Grapeyard.Labs.Nuke.Launchpad.Common --version 2.0.0                
NuGet\Install-Package Grapeyard.Labs.Nuke.Launchpad.Common -Version 2.0.0                
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="Grapeyard.Labs.Nuke.Launchpad.Common" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Grapeyard.Labs.Nuke.Launchpad.Common --version 2.0.0                
#r "nuget: Grapeyard.Labs.Nuke.Launchpad.Common, 2.0.0"                
#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 Grapeyard.Labs.Nuke.Launchpad.Common as a Cake Addin
#addin nuget:?package=Grapeyard.Labs.Nuke.Launchpad.Common&version=2.0.0

// Install Grapeyard.Labs.Nuke.Launchpad.Common as a Cake Tool
#tool nuget:?package=Grapeyard.Labs.Nuke.Launchpad.Common&version=2.0.0                

NUKE Launchpad Common

Common feature extensions for the build automation tool NUKE for C# and .NET.

Installation

After setting up a NUKE build project as described in the NUKE documentation, preferably install NUKE Launchpad by adding the package Grapeyard.Labs.Nuke.Launchpad to it as a NuGet dependency using a NuGet package manager or by adding it manually to its project file:

<PackageReference Include="Grapeyard.Labs.Nuke.Launchpad" Version="2.0.0" />

This will automatically install all packages that are part of NUKE Launchpad and their transitive dependencies. If only the common feature extensions are actually needed, install this package individually instead.

If the installation fails with NuGet error NU1202, update the target framework of the NUKE build project to a compatible version first – net8.0 or above – using its project properties or manually via its project file:

<TargetFramework>net8.0</TargetFramework>
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Grapeyard.Labs.Nuke.Launchpad.Common:

Package Downloads
Grapeyard.Labs.Nuke.Launchpad.Parameters

Predefined build parameters for the build automation tool NUKE for C# and .NET.

Grapeyard.Labs.Nuke.Launchpad.Targets

Predefined build targets for the build automation tool NUKE for C# and .NET.

Grapeyard.Labs.Nuke.Launchpad

Quickstart and extension library for the build automation tool NUKE for C# and .NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.2 108 11/6/2024
2.0.1 99 11/5/2024
2.0.0 104 10/30/2024
1.1.0 128 8/29/2024
1.0.0 167 5/17/2024
0.3.0 177 3/14/2024
0.2.0 223 1/8/2024
0.1.1 194 9/8/2023
0.1.0 199 9/6/2023

Added

• Integrated the central package management (CPM) feature of NuGet to manage dependency versions from a central file.
• Added an optional Boolean logging parameter to the following methods, allowing to enable or disable logging of the publishing process:
   ◦ Method PublishFileToDirectory of the ExtendedFileSystemTasks class.
   ◦ Method PublishPackagesToLocalPackageRepositories of the IPublishToLocalPackageRepositories target base interface.
• Added class ConditionalLog that contains wrapper methods which forward calls to the Serilog library based on runtime conditions.
• Added configuration property ExtensiveLogging to the following target interfaces:
   ◦ Target surrogate interface IFinalizeChangelogWithKeepAChangelogFormat. The property allows extensive logging to be enabled for read and write access to the changelog file during a target run.
   ◦ Target surrogate interface IPublishToLocalPackageRepositoriesForDotNet. The property allows extensive logging to be enabled for the copying of NuGet packages to local package repositories during a target run.
   ◦ Target surrogate interface IUpdateCopyrightYearsOfRepositoryLicenseToCurrent. The property allows extensive logging to be enabled for read and write access to the license file of the repository during a target run.

Changed

• Breaking: Generalized the names of the optional Boolean logging parameters of the following methods, made most of the parameters relevant to all local logging statements instead of just some and changed their default values to false to make them less intrusive:
   ◦ Method UpdateStaticBadges of the BadgeProvider class. Renamed the parameter from logBadgeUpdate to logUpdate.
   ◦ Methods UpdateStaticBuildStatusBadges, UpdateStaticTestResultsBadges and UpdateStaticVersionBadges of the BadgeProviderExtensions class. Renamed the parameters from logBadgeProvider to logUpdate.
   ◦ Method UpdateVersionOfNuGetPackageReferences of the DocumentingTasks class. Renamed the parameter from logVersionUpdate to logUpdate.
   ◦ Methods WriteAllLinesAtomically and ReadWriteAllLinesAtomically of the AbsolutePathExtensions class. Renamed the parameters from logTempFileCreation to logWriting and logReadingWriting.
   ◦ Methods CreateTempFile, DeleteFile and DeleteDirectory and overloaded methods DeleteFiles and DeleteDirectories of the ExtendedFileSystemTasks class. Renamed the parameters from logFileCreation, logFileDeletion and logDirectoryDeletion to logCreation and logDeletion.
   ◦ Overloaded method CreateTestReportFromLogFilesInDirectory of the VisualStudioTestFormatTasks class. Renamed the parameter from logTestLogFiles to logCreation.
   ◦ Method UpdateStaticBadgesForBadgeProviders of the IUpdateStaticBadges target bundle interface. Renamed the parameter from logVerbosely to logUpdate.
   ◦ Method DeleteSuperfluousThirdPartyLicenses of the IUpdateThirdPartyLicenses target bundle interface. Renamed the parameter from logFileDeletion to logDeletion.
• Breaking: Renamed parameter interface IUsesVerboseLogging to IUsesExtensiveLogging and its build parameter --verbose-logging to --extensive-logging to better distinguish it from the default build parameter --verbosity of NUKE. Changed the build parameter's default value to true.
• Breaking: Renamed the configuration properties concerning logging of the following target interfaces to ExtensiveLogging, thereby reflecting the name change of parameter interface IUsesVerboseLogging to IUsesExtensiveLogging, and changed their default values to true to activate extensive logging by default:
   ◦ Properties VerboseLogging of the ICleanForDotNet, IUpdateStaticBadgesInMainReadmeForBadgeProviders, IUpdateDocumentedNuGetPackageReferencesOfProjectsToNewest and IUpdateThirdPartyLicensesFromWebLinks target surrogate interfaces.
   ◦ Properties VerboseReportLogging of the IIntegrationTestWithDotNet and IUnitTestWithDotNet target surrogate interfaces.
• Updated dependencies to NuGet package Nuke.Common from version 8.0.0 to 8.1.2.
• Updated dependencies to NuGet package GitVersion.Tool from version 6.0.2 to 6.0.3.
• Modified overloaded method ExtractReleaseNotesForNuGet of the KeepAChangelogFormatTasks class to remove the Markdown emphases for bold and bold-italic text using two and three asterisks from logged changes.
• Modified build parameter --local-package-repository-dirs of the IHasLocalPackageRepositories parameter interface to accept both relative and absolute paths as input values.

Full changelog at https://gitlab.com/grapeyard-labs/libs/nuke-launchpad/-/blob/2.0.0/CHANGELOG.md