Say I have a packet.dependencies
file in a root folder full of different solutions adding up to hundreds of projects, each with a paket.references
file.
Is there an easy way to go about adding the same package/same version in all the projects with a single command (or close) with paket?
In my use case, I'm trying to add an analyzer to every C# project we have. It would be tedious to add the same package and version to hundreds of different C# projects...
It was actually just
paket add <package ID>
, if ran in the root folder with thepaket.dependencies
file, it will actually find all the.csproj
files and add the dependency.It was the following line in the docs that threw me off:
But it will actually add the dependency to all solutions and projects.