dotnet-proj-cli 0.0.5-alpha

This is a prerelease version of dotnet-proj-cli.
dotnet tool install --global dotnet-proj-cli --version 0.0.5-alpha                
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-proj-cli --version 0.0.5-alpha                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-proj-cli&version=0.0.5-alpha&prerelease                
nuke :add-package dotnet-proj-cli --version 0.0.5-alpha                

dotnet-proj

CLI tool to work with Directory.Build.props/csproj/fsproj etc.

screenshot

Install

Install:

dotnet tool install dotnet-proj-cli --global --prerelease

(not to confuse with another tool, dotnet-proj!)

Update:

dotnet tool update dotnet-proj-cli --global --prerelease

Use

Create

dotnet proj create Directory.Build.props
dotnet proj create MyProject.csproj

Add

dotnet proj add --object ./Directory.Build.props --property TargetFramework --value net5.0

Or, for instance, you want to add a package

dotnet proj add -o ./Directory.Build.props -i PackageReference -a Include xUnit Version 1.0.0

Or, let it auto-detect the file (if the choice is obvious):

dotnet proj add -i None -a Include "../obj"
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
0.0.5-alpha 155 1/18/2022
0.0.4-alpha 129 1/18/2022
0.0.3-alpha 114 1/18/2022
0.0.2-alpha 116 1/18/2022
0.0.1-alpha 128 1/15/2022
0.0.0-alpha 131 1/15/2022