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.
我在这里对 VS2012 有一个奇怪的行为。
我有一个带有导出定义文件的 C++ dll 项目。在 Debug built 一切都很好,生成了一个 dll 和一个 lib 文件。在 Release 中,只生成一个 dll 文件。
最好的汤姆
确保.def 文件在项目的Propert Pages 中的配置属性|中指定。链接器 | 输入 | Debug 和 Release 配置中的模块定义文件。