dotnet-property 2.1.0

dotnet tool install --global dotnet-property --version 2.1.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 2.1.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-property&version=2.1.0                
nuke :add-package dotnet-property --version 2.1.0                

DotNet.Property

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

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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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
2.1.0 10,291 7/29/2023
2.0.0.177 6,548 12/14/2022
2.0.0.108 6,180 5/18/2021
2.0.0.96 2,655 2/15/2021
2.0.0.60 4,210 5/2/2020
1.0.0.11 11,624 1/11/2019
1.0.0.9 2,750 6/4/2018
1.0.0.8 2,397 5/9/2018
1.0.0.7 2,431 5/9/2018
1.0.0.6 2,498 5/9/2018
1.0.0.3 2,408 5/8/2018