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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-property --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.