How to do I prevent NuGet asking about overwriting a file when restoring packages?
问题 We recently added Fody to some of our projects and locally this goes fine, but on the TeamCity build server, this causes problems, which I can replicate locally by running the following command in the Package Manager Console of VS2015: PM> Update-package -reinstall <snip ... /> Successfully uninstalled 'Fody 1.29.4' from Example.Project Package 'Fody.1.29.4' already exists in folder 'D:\Projects\Examples\MySolutions\packages' File Conflict File 'FodyWeavers.xml' already exists in project