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.
有什么方法可以强制Clean作为Visual Studio 中单个项目的Post /Pre build 事件采取行动?
Clean
谢谢你。
是的,
放
del /F /Q $(TargetDir)*.*
在命令行部分。
此预构建事件也有效:
devenv ${ProjectFileName} /Clean