-->

Compile generated files in Visual Studio

2019-08-24 00:01发布

问题:

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.

回答1:

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.