Grapeyard.Labs.Nuke.Launchpad.Targets 1.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.Targets --version 1.0.0                
NuGet\Install-Package Grapeyard.Labs.Nuke.Launchpad.Targets -Version 1.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.Targets" Version="1.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.Targets --version 1.0.0                
#r "nuget: Grapeyard.Labs.Nuke.Launchpad.Targets, 1.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.Targets as a Cake Addin
#addin nuget:?package=Grapeyard.Labs.Nuke.Launchpad.Targets&version=1.0.0

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

NUKE Launchpad Targets

Predefined build targets for the build automation tool NUKE for C# and .NET in the form of configurable build component interfaces.

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="1.0.0" />

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

If the installation fails with NuGet error NU1202, upgrade 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 (1)

Showing the top 1 NuGet packages that depend on Grapeyard.Labs.Nuke.Launchpad.Targets:

Package Downloads
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 73 11/6/2024
2.0.1 78 11/5/2024
2.0.0 75 10/30/2024
1.1.0 103 8/29/2024
1.0.0 125 5/17/2024
0.3.0 152 3/14/2024
0.2.0 196 1/8/2024
0.1.1 162 9/8/2023
0.1.0 149 9/6/2023

• Added string constants for logged test results in the Visual Studio Test Format (file extension .trx) to the Constants class.
• Added a private constructor to the VersionType class as the default constructor to prevent it from being instantiated.
• Added the following methods to the IEnumerableExtensions class:
   ◦ Method RemoveInstancesNextToTargets that removes elements from an enumerable that are instances, as defined by one predicate, and appear next to targets, as defined by another predicate.
   ◦ Method EvaluateEagerly that eagerly evaluates enumerables to prevent deferred execution.
• Updated target framework version from .NET 7 to .NET 8.
• Updated target language version from C# 11 to C# 12.
• Changed the collection types of the following properties and return values to prevent unexpected side effects due to deferred execution and/or to better conform to the principle "Return the most specific type, accept the most generic type":
   ◦ Return value types of all methods of the BadgeProvider, BadgeProviderExtensions, BadgenTasks and ShieldsTasks classes that update static badges in an input enumerable from IEnumerable<string> to string[].
   ◦ Return value type of method ExtractReleaseNotes of the KeepAChangelogFormatTasks class from List<string> to IReadOnlyList<string>.
   ◦ Return value type of overloaded method FinalizeChangelog of the KeepAChangelogFormatTasks class from List<string> to string[].
   ◦ Return value type of method UpdateVersionOfNuGetPackageReferences of the DocumentingTasks class from IEnumerable<string> to string[].
   ◦ Return value type of method UpdateLastPublicationYearOfCopyrightNotices of the LicensingTasks class from IEnumerable<string> to string[].
   ◦ Return value types of all methods of the ProjectExtensions and SolutionExtensions classes that retrieve the names or the package identifiers of projects from IEnumerable<string> to IReadOnlyCollection<string>.
   ◦ Property types of properties PreRelease and BuildMetadata of the SemanticVersion class from ReadOnlyCollection<string> to IReadOnlyList<string>.
   ◦ Return value type of method GetBuildProjectOutputDirectories of the IClean target base interface from AbsolutePath[] to IReadOnlyCollection<AbsolutePath>.
• Added an optional parameter to method ExtractReleaseNotes of the KeepAChangelogFormatTasks class, allowing to specify whether change type groups, if any, should be merged in the extracted release notes.
• Added a trailing slash to the default values of all build parameters that represent directory paths to more clearly distinguish them from file paths.
• Changed the type of overridable expression trees of Boolean requirements and conditions (properties ExecutionRequirements and InclusionConditions) to IEnumerable<T> for all build targets to make them more versatile.
• Fixed a bug in method UpdateVersionOfNuGetPackageReferences of the DocumentingTasks class that could cause mismatched NuGet package references to be updated for package identifiers that contained regular expression metacharacters.
• Fixed a bug in the following methods that could cause an exception to be thrown if the enumerable passed to them was resized during their execution:
   ◦ Methods GetToplevelGitDirectory and IsGitStatusShortClean of the ExtendedGitTasks class.
   ◦ Methods ConvertAll, JoinElementsToString and OrderAndDistinctBy of the IEnumerableExtensions class.

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