Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想重建我的整个解决方案,但我想确保项目没有构建后事件。Visual Studio 中是否有快速的方法来执行此操作?我宁愿不一一检查每个项目的属性。
我相信您可以为此使用属性表。
如果您转到查看|其他 Windows|属性管理器,您可以看到解决方案中项目的属性表。选择一个项目,然后编辑该项目的属性,删除构建后事件等,然后保存该属性表。最后,从 Property Manager 中同时选择多个项目(按住 shift 键单击)并单击Add Existing Property Sheet然后选择您保存的属性表。您可以验证该属性表是否已添加到所有选定的项目中并且它是否按需要工作。