https://github.com/loresoft/dotnet.property
.NET Core command-line (CLI) tool to update project properties and version numbers on build
https://github.com/loresoft/dotnet.property
Last synced: 8 months ago
JSON representation
.NET Core command-line (CLI) tool to update project properties and version numbers on build
- Host: GitHub
- URL: https://github.com/loresoft/dotnet.property
- Owner: loresoft
- License: mit
- Created: 2018-01-15T19:33:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T07:18:19.000Z (9 months ago)
- Last Synced: 2025-05-07T04:47:11.629Z (9 months ago)
- Language: C#
- Homepage:
- Size: 101 KB
- Stars: 16
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# DotNet.Property
.NET Core command-line (CLI) tool to update project properties and version numbers on build.
[](https://github.com/loresoft/DotNet.Property/actions/workflows/dotnet.yml)
[](https://coveralls.io/github/loresoft/DotNet.Property)
[](https://www.nuget.org/packages/dotnet-property/)
## Usage
Install the global tool
dotnet tool install -g dotnet-property
Update project property
dotnet property
| 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"