在 Visual Studio 中编译生成的文件 [英] Compile generated files in Visual Studio

查看:35
本文介绍了在 Visual Studio 中编译生成的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 是否有一些选项可以添加/编译在 Visual Studio 之外自动生成的所有选定文件,即在预构建事件中?如何实现这一目标.

Does Visual Studio have some options to add/compile all selected files that were auto generated outside visual studio i.e in pre build event? How to achieve this.

推荐答案

你可以自动生成一次,然后添加到项目中,然后编译...预构建将生成它们,然后您将使用新文件进行编译.

you can auto generate them once, add then to the project and just compile... the pre build will generate them and then you will compile with the fresh files.

这篇关于在 Visual Studio 中编译生成的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆