无法从 Visual Studio 2008 启动调试;无法识别或不支持的二进制格式
我目前正在尝试设置我的新笔记本电脑进行开发。 但我遇到以下行为:
当我第一次尝试构建解决方案(或清理后)时,我收到以下错误:
一般错误 c1010070:无法加载和解析清单
但是,如果我再次构建,此错误就会消失。所以也许这并不重要,但如果有什么重要的话我会提到我。 :-)
在第二次构建运行后,我能够创建一个可执行文件,但我无法使用 Visual Studio 中的“开始调试”命令启动我。
如果我在外部启动应用程序,一切都很好,但是当我开发这个东西时,我还需要调试。如果可能的话我想使用 vs 调试器。
我的系统:
联想 x220 搭载英特尔酷睿 i3 sandybridge
安装了 windows 7 32 位(我之前也尝试过 64 位) (您需要更多信息吗?)
vs 项目:
它是一个包含一个静态库项目、两个动态库项目和一个生成可执行文件的解决方案
一切都是为 32 位设计的,目标机器设置为 x86。
我在工作电脑上构建和运行所有内容都没有问题,该电脑运行 Windows 7 64 位,并且在我的笔记本电脑上运行 Windows 7 32 位的虚拟机中。
我还搜索了也许我错过了一些相关文章。
如果是这样,请指出那篇文章,并感谢我再次询问。
感谢您提前的答复
I am currently trying to set up my new Laptop for development.
But i encounter the following behaviour:
When i try to build the solution for the first time (or after clean-up) i get the following error:
general error c1010070: Failed to load and parse the manifest
However, this error disappears if i build again. So maybe it doesn't matter, but i mention i if it somehow matters. :-)
After a second build run, i am able to create an executable, but i cannot start i with the "start debugging" command in visual studio.
If i start the application outside vs everything is fine, but as i am developing this thing, i also need to debug. And if possible i want to use the vs debugger.
My system:
Lenovo x220 with Intel core i3 sandybridge
windows 7 32bit installed (i also tried previously with 64bit)
(do you need further infos?)
The vs project:
It is a solution containing one static library project, two dynamic library project, and one that crates the executable
Everything was deigned for 32bit, and the target machine was set to x86.
I had no problems building and running everything on my pc at work, which runs windows 7 64bit, and in a virtual machine running windows 7 32bit on my laptop.
I also searched by maybe i missed some relevant articles.
If so, please point me to that article and take my appologies for asking again.
Thanks for answers in adavance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为问题是,我的解决方案是在 ext3 格式的光盘上。我使用 ext2ifs http://www.fs-driver.org/ 在 Windows 7 中安装了该光盘启用写支持。后来我尝试了是否真的有写支持,一切都很好。但不知何故,驱动程序无法始终启用此写入支持。这就是为什么 VS 只是有时抱怨它无法编写清单。我将我的解决方案复制到 ntfs 光盘上,一切正常。奇怪的是,我之前已经尝试过这个,但后来它也不起作用。所以我不能100%确定我的解决方案确实是解决方案。对我来说现在有效。 :-)
I think the problem was, that my solution was on an ext3 formatted disc. I mounted that disc in Windows 7 with ext2ifs http://www.fs-driver.org/ and enabled write support. Afterwards i tried if i really have write support and everything was fine. But somehow the driver wasn't able to enable this write support always. Thats why VS complained only sometimes that it wasnt able to write the manifest. I copied my solution to an ntfs disc and everthing worked fine. The strange thing is, that i had already tried this before, but then it wouldnt work either. So I am not 100% sure that my solution is indeed the solution. For me it works now. :-)