How can I get Paket to generate Paket.Restore.targets?


#1

I want to try using Paket as a dotnet global tool (been using the Mono version in the .paket folder as is the typical use case). I’ve installed it using dotnet tool install -g Paket. I need to have it regenerate the Paket.Restore.targets since that targets file in the newest version has logic that will ensure the restore process uses the global tool. I’ve deleted the old .paket folder which contained the old version of Paket and the old Paket.Restore.targets. Does anyone know how I can get the new version of Paket to regenerate it?


#2

paket restore -f did it for me.