Topten.NuspecTool 0.1.104

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Topten.NuspecTool --version 0.1.104
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 Topten.NuspecTool --version 0.1.104
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Topten.NuspecTool&version=0.1.104
nuke :add-package Topten.NuspecTool --version 0.1.104

nuspec_tool

A simple command line utility to update the version number of package depenencies in a .nuspec file by reading the package references from msbuild format project files (eg: .csproj, .props etc...)

To update a .nuspec file with package versions from a .csproj files:

nuspec_tool myproj.csproj myproj.nuspec

Installation

Install as a dotnet global tool:

dotnet tool install -g Topten.NuspecTool

Usage

nuspec_tool <nuspecfiles> <inputfiles>

You can specify as many .nuspec and project files as you like, and they can be specified in any order. Files ending with .nuspec will be updated with the version numbers found in all the non-.nuspec files.

Options: --help show this help, or help for a command --version show version information

Limitations

The implementation of this tool is very basic, using regular expressions to both locate the version numbers in the project files and to update the .nuspec files.

This works well for most files but may not work if you have conditional sections in project files or other complicated arrangements.

Product 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.

Version Downloads Last updated
0.1.105 350 11/9/2021
0.1.104 267 11/9/2021
0.1.102 263 11/9/2021