dotnet-property 3.0.0

dotnet tool install --global dotnet-property --version 3.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-property --version 3.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-property&version=3.0.0                
nuke :add-package dotnet-property --version 3.0.0                

DotNet.Property

.NET Core command-line (CLI) tool to update project properties and version numbers on build.

Build Project

Coverage Status

NuGet Version

Usage

Install the global tool

dotnet tool install -g dotnet-property

Update project property

dotnet property <projectGlob> <property:value>
Argument Description
projectGlob Path glob expression of projects to update. Must be first argument.
property:value Project property name value pair. Can have multiple properties to update.

Examples

Set the version number in a shared props file

dotnet property "**/version.props" Version:"1.0.0.3"

Update project version and copyright properties

dotnet property "**/Project.csproj" Version:"1.0.0.3" Copyright:"Copyright 2018 LoreSoft"
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.

This package has no dependencies.

Version Downloads Last updated
3.0.0 138 12/13/2024
2.1.0 10,936 7/29/2023
2.0.0.177 6,625 12/14/2022
2.0.0.108 6,185 5/18/2021
2.0.0.96 2,661 2/15/2021
2.0.0.60 4,215 5/2/2020
1.0.0.11 11,691 1/11/2019
1.0.0.9 2,755 6/4/2018
1.0.0.8 2,403 5/9/2018
1.0.0.7 2,436 5/9/2018
1.0.0.6 2,503 5/9/2018
1.0.0.3 2,413 5/8/2018