Novolis.MSBuild.ToolReference 2026.1.1.21

There is a newer version of this package available.
See the version list below for details.
dotnet add package Novolis.MSBuild.ToolReference --version 2026.1.1.21
                    
NuGet\Install-Package Novolis.MSBuild.ToolReference -Version 2026.1.1.21
                    
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="Novolis.MSBuild.ToolReference" Version="2026.1.1.21">
  <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.
<PackageVersion Include="Novolis.MSBuild.ToolReference" Version="2026.1.1.21" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.MSBuild.ToolReference">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.MSBuild.ToolReference --version 2026.1.1.21
                    
#r "nuget: Novolis.MSBuild.ToolReference, 2026.1.1.21"
                    
#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.
#:package Novolis.MSBuild.ToolReference@2026.1.1.21
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.MSBuild.ToolReference&version=2026.1.1.21
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.MSBuild.ToolReference&version=2026.1.1.21
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

Novolis.MSBuild.ToolReference

Evaluation-time executable tool references for MSBuild projects.

ToolReference restores a published NuGet tool package without exposing its compile or runtime assets. The package-relative ToolPath is resolved from project.assets.json, then the tool can be run explicitly or incrementally before compilation.

Install

<ItemGroup>
  <PackageReference Include="Novolis.MSBuild.ToolReference" PrivateAssets="all" />
</ItemGroup>

With central package management, add the package version to Directory.Packages.props.

Usage

<ItemGroup>
  <ToolReference Include="Novolis.Solution.Tool"
                Version="[2026.1.1.90]"
                ToolPath="tools/net10.0/any/Novolis.Solution.Tool.dll"
                Arguments="--help"
                Inputs="$(MSBuildProjectFullPath)"
                Outputs="$(IntermediateOutputPath)tool-reference.stamp"
                RunOnBuild="false" />
</ItemGroup>

Run all declared tools explicitly with the NovolisRunToolReferences target. Set RunOnBuild or RunOnPack only for tools that are safe to invoke during those lifecycle phases. Design-time builds do not execute tools.

Tool packages must be restored from the configured NuGet sources. Use an exact NuGet version or exact version range; PackageDownload does not accept floating PackageReference versions. This package does not create a local feed or install global tools.

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
2026.1.1.22 87 11/6/2026
2026.1.1.21 84 11/6/2026
2026.1.1.20 96 10/18/2026
2026.1.1.19 85 10/18/2026
2026.1.1.16 94 10/18/2026