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 2010 中有没有办法自动指定构建后事件命令?现在我必须为我创建的每个新项目继续输入相同的命令。有没有办法让所有新项目默认使用特定的构建后事件命令?
这可以通过创建一个包含 post build 命令的新项目模板来完成。可以通过创建一个新项目、添加 post build 命令然后使用该项目作为模板的基础来派生模板。
创建模板有点过于复杂,无法在 SO 答案中捕获,但这里有一些关于该主题的文章