Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whiteblackgoose/dotnet-proj
CLI tool to work with Directory.Build.props/csproj/fsproj etc.
https://github.com/whiteblackgoose/dotnet-proj
Last synced: 18 days ago
JSON representation
CLI tool to work with Directory.Build.props/csproj/fsproj etc.
- Host: GitHub
- URL: https://github.com/whiteblackgoose/dotnet-proj
- Owner: WhiteBlackGoose
- License: mit
- Created: 2022-01-14T07:07:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-18T13:32:59.000Z (almost 3 years ago)
- Last Synced: 2024-10-19T18:47:11.905Z (30 days ago)
- Language: F#
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-proj
CLI tool to work with Directory.Build.props/csproj/fsproj etc.
![screenshot](./screenshot.PNG)
## 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"
```