![](/img/trans.png)
[英]Visual Studio 2019 not copying changed and compiled dll to startup project's bin folder in x64 target
[英]Visual Studio 2017 debugger keeps looking for DLL's .obj file after project folder structure changed
我的设置
在尝试进入 DLL API 时,VS 向我抛出错误:
Error: Unable to open file /path/to/old/folder/intermediate/file.obj. Error code = 0x80070003
这与诸如此类的问题不同
因为错误消息清楚地表明该文件来自我重组项目后的过时位置。
我试过了
Clean Solution
并重建/DEBUG:FULL
。无济于事。
任何帮助表示赞赏。
自己解决了。 我所有的 DLL 项目用于 output 到与我的主 exe 文件夹不同的位置。 在我将这些路径重定向到 exe 的文件夹并重建之后。 问题消失了。 有趣的是,应用程序运行时没有 DLL 问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.