Another day – another open source project from my team, this time a small nifty tool called “please”, akin something that already been mentioned in one of the ADRs (ADR003):
- We would depend on using an eng/Dependencies.props file instead of having the versions of Nuget files
repeatedly entered into the csproj files
- We would use automated tooling to achieve the maintenance of Dependencies.props file
So, in the end, not only these, but a bunch of other small functionality has been added to this swiss knife of a tool that you can just ask to do stuff, nicely 🙂
It can easily:
- Consolidate nuget packages across a solution, or only a subset of them
- Keep package versions in a central props file and maintain that file
- Move and rename projects
- Clean up in case you manually moved and renamed
- Clean up
<Compile Remove="..." />
items, with or without globbing - To find stray projects
- To remove ‘junk’ from solution directory
- To change the
PATH
variable (useful when working with dotnet tools) - etc.