dotnet-ver
0.2.16
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-ver --version 0.2.16
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-ver --version 0.2.16
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ver&version=0.2.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-ver --version 0.2.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
.NET Core Project Version Tool
Usage: dotnet ver [command] [options]
Options:
-v|--version Specifies the version string to set in the project file.
If not specified, dotnet-ver will increment the Patch number by one.
(e.g., 0.1.1 will be updated to 0.1.2)
-d|--directory Specifies the starting directory to scan for .csproj files.
If not specified, the tool will use the current directory as the default.
-p|--plain Outputs just the plain version number, without any additional information or formatting.
This option is useful when you want to capture the version number for scripting or automation purposes.
-?|-h|--help Show help information.
Commands:
list
Run 'dotnet ver [command] -?|-h|--help' for more information about a command.
Examples:
dotnet ver // Automatically increment the patch version (e.g., 0.1.1 -> 0.1.2)
dotnet ver -v 0.1.10 // Set an exact version (e.g., 0.1.1 -> 0.1.10)
dotnet ver -d ../others // Increment the patch version for projects in a specific directory
dotnet ver -d ../others -v 1.2 // Set an exact version for projects in a specific directory
dotnet ver -v 0.1.15 -p // Set an exact version and return a plain version number
dotnet ver -p // Auto increment the patch version and return a plain version number
dotnet ver list // List the current versions without modifying them
dotnet ver list -d ../others // List the current versions from a specific directory
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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.