Visual C ++ 2010 Express [英] Visual C++ 2010 Express

查看:76
本文介绍了Visual C ++ 2010 Express的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

打开项目(.sln)时,我会弹出一个窗口:" 解决方案中的一个或多个项目未正确加载.有关详细信息,请参见输出窗口". " .然后出现另一个弹出窗口: " 创建或打开C ++浏览数据库文件C:\ blah \ blah \ blah \ project.sdf时发生错误. IntelliSense和浏览信息将不适用于C ++项目.

When opening a project (.sln) I get a popup: "One or more projects in the solution were not loaded correctly. Please see the Output Window for details". And then another popup: "An error occurred while creating or opening the C++ browsing database file C:\blah\blah\blah\project.sdf. IntelliSense and browsing information will not be available for C++ projects.

确保已安装Microsoft SQL Server Compact 3.5,并且没有其他应用程序正在访问该文件.如果此问题仍然存在,请删除文件并重新打开解决方案."

因此,在输出窗口中,我得到了几个

So then in the output window I get several

C:\ blah \ blah \ blah \ thing.vcxproj:警告  :找不到项目文件"* blah *"中引用的平台"x64".请确保已将其安装在'%VCTargetsPath%\ Platforms \ x64'下.

我认为,如果我能解决这个最后的错误,一切都会好的.虽然找不到任何解决方案.任何帮助将不胜感激!

I think if I can fix this last error everything may be ok. Having trouble finding any solutions though. Any help will be greatly appreciated!

推荐答案

我的朋友,

感谢您在MSDN论坛中发帖.

Thanks for posting in MSDN forum.

首先,我们需要找到与您打开的项目或您使用的Visual Studio有关的根本原因.

Firstly, we need to find the root cause is related to the project you opened or the Visual Studio you use.

我建议您可以创建一个与原始项目类型相同的新C ++项目,以检查有关C ++浏览数据库文件的错误是否再次出现.

I suggest you could create a new C++ project the same type as the original one, to check if the error about the C++ browsing database file shows again.

(1).如果错误仍然存​​在,建议您在命令提示符下尝试使用一些devenv开关,以检查是否有帮助.

(1).If the error still persists, I suggest you can try some devenv switches in command prompt check if it can help you.

a.运行 devenv/Safemode 以查看是否可以正确应用它.这样可以消除以下可能性:第三方加载项或程序包引起问题.
b.运行 devenv/Resetsettings 以消除导致设置损坏的原因. C.在命令提示符下运行 devenv/ResetSkipPkgs .
d.运行 devenv/resetsuerdata

a. Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that   third party Add-ins or packages are causing problems.
b. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
c. Run devenv /ResetSkipPkgs in Command Prompt.
d. Run devenv /resetsuerdata

您还可以尝试关闭计算机上的防病毒软件或防火墙或其他工具,也可以尝试重新启动计算机.

You could also try to close the Anti-virus software or the firewall or other tools on your machine or you can try to restart your machine would be better.

如果以上建议对您没有帮助,建议您尝试修复或重新安装Visual Studio 2010,然后再次检查此问题.

If the above suggestion could not help you, I suggest you try to repair or re-install the Visual Studio 2010 and check this issue again.

(2)如果在VS 2010 Express的示例C ++项目中没有遇到相同的崩溃问题,我怀疑特定项目是否会对VS IDE产生太大影响.因此,我建议您在解决方案资源管理器"检查下加载C ++项目的一部分 这个问题.

(2)If you did not get same crashes issue in a sample C++ Project in VS 2010 express, I doubt that maybe the specific Project too large impact the VS IDE. So I suggest you load a part of C++ Project under the Solution Explorer check this issue.

最好的问候


这篇关于Visual C ++ 2010 Express的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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