Visual Studio 2010:错误代码 -2146232576 (0x80131700) [英] visual studio 2010: error code -2146232576 (0x80131700)

查看:39
本文介绍了Visual Studio 2010:错误代码 -2146232576 (0x80131700)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将一个 C++ 项目从在 Windows XP 上运行的 Visual Studio 2008 转换为在 7 上运行的 2010.编译似乎运行得很完美,但在调试过程中出现错误:程序 'App.exe : Native' 已退出,代码为 -2146232576 (0x80131700)."在互联网上进行了一些研究后,我发现问题与 .NET 有关.我尝试使用隐藏更新来更新我的窗口,检查 .NET 版本目标是 4 以及其他一些不起作用的东西...

I have to convert a C++ project from visual studio 2008 running on Windows XP to 2010 running on Seven. Compilation seems to run perfectly but during the debugging I have an error: "The program 'App.exe : Native' has exited with code -2146232576 (0x80131700)." After a few researches on the internet I found out that the issue is in relation with .NET. I tried to update my windows with hidden updates, check what the .NET version target is 4 and a few more things that doesn't work...

有没有人遇到过这个问题?非常感谢.它是一个托管 C++ 项目

Has anyone ever encountered this issue ? Thanks a lot. it is a managed C++ project

推荐答案

这是一个低级别的 .NET 初始化错误,无法加载 CLR.这很难解释,因为您可以毫无问题地运行 VS2010 并且它已经使用了 .NET 版本 4.唯一合理的猜测是您实际上使用的是 C++ 项目(不是 C++/CLI 项目)并且它加载了 CLR 本身.并要求旧版本,例如 1.1,未安装在机器上的版本.搜索CorBindToRuntime"代码.

It is a low-level .NET initialization error, the CLR cannot get loaded. That's pretty hard to explain since you can run VS2010 without a problem and it already uses .NET version 4. The only decent guess is that you are actually using a C++ project (not a C++/CLI one) and that it loads the CLR itself. And asks for and old version, like 1.1, one that isn't installed on the machine. Search the code for "CorBindToRuntime".

这篇关于Visual Studio 2010:错误代码 -2146232576 (0x80131700)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆