dotnet-proj-cli
0.0.4-alpha
This is a prerelease version of dotnet-proj-cli.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-proj-cli --version 0.0.4-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.4-alpha
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-proj-cli&version=0.0.4-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-proj-cli --version 0.0.4-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-proj
CLI tool to work with Directory.Build.props/csproj/fsproj etc.
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 | 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.
Version | Downloads | Last updated |
---|---|---|
0.0.5-alpha | 156 | 1/18/2022 |
0.0.4-alpha | 130 | 1/18/2022 |
0.0.3-alpha | 115 | 1/18/2022 |
0.0.2-alpha | 117 | 1/18/2022 |
0.0.1-alpha | 129 | 1/15/2022 |
0.0.0-alpha | 132 | 1/15/2022 |