Adding and removing multiple references across projects in Visual Studio
问题 I have a huge project with over 50 or 60 csproj files. I need to remove 6 or 7 references exiting references and add 10 or 15 new references across all these projects. Is there a mechansim to bulk add references and remove references? Or if there is a way to say, replace reference X with Y across all projects, that would be very helpful too. Let me add that Nuget is not an option. 回答1: This one's easy: just write a script that opens up all your .proj files, removes the lines you don't need