Visual Studio 2010 预编译或预构建操作
我正在寻找在预构建或预编译阶段(用户透明)在我的代码文件中进行一些替换的能力。我正在考虑 Visual Studio 扩展,但尚未找到解决方案。需要某种方式来访问解决方案/项目中的所有文件或至少它的路径。
I'm looking for ability to make some replacements in my code files in prebuild or precompile phase (user transparent). I was thinking about Visual Studio extension, but haven't found solution yet. Some way to access all files in solution/project or at least it' path is required.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Visual Studio 中有内置的预构建操作(构建后操作也是如此),它们难道不适合您的需求吗?
更多信息请点击此处
http://msdn.microsoft.com/en-us/library/ke5z92ks.aspx
There are built-in pre-build actions in Visual Studio (as are post-build), wouldn't they be suitable for your needs?
More information here
http://msdn.microsoft.com/en-us/library/ke5z92ks.aspx