1
1
您可以添加一个“makefile项目”。模板是VisualC++的,一般的。此项目类型允许您为生成、清除和重新生成操作指定自定义生成命令。环境将自动设置,这样您就不必乱弄路径了。C++ IDE还支持创建自定义生成规则,这样您就可以从文件扩展名(.IL)中自动触发正确的工具(IASM.exe)。 不过,这差不多是最好的了。项目中没有多个.il文件自动映射到单个生成命令。为此,需要编写nmake.exe makefile。还要注意,自定义构建规则支持在VS2010中被破坏。 |
2
13
我承认汉斯回答了这个问题,但经过一些试验,我找到了一个更接近家的解决方案: 如何在Visual Studio中编译CIL/MSIL 以下黑客程序为您提供了一个项目:
遵循以下步骤:
以下是XML:
|