问题描述
我有vs2010最终,然后我下载2012年RC。它在开始工作良好,然后在某些点.net框架搞砸了所以我卸载了2012和2010(也许我已手动删除一些文件夹)。现在我重新安装vs2010极限和问题是没有标准库文件存在我想到,因为我不能包括任何他们。
Well I had vs2010 ultimate then i downloaded 2012 RC. It was working well at the beginning then at some point .net framework get messed up so I uninstalled both 2012 and 2010 (maybe i have manually deleted some folders too). Now I re-Installed vs2010 ultimate and the problem is none of the standard library files exist I figured so as I cant include any of them.
任何帮助如何解决?!
推荐答案
这是VS2012 RC / Beta的卸载程序的一个已知问题。它将取消注册平台SDK,删除文件夹,甚至更糟 - 将更改所有以前的VS版本。我不知道什么注册表设置它改变(大约 $(VCInstallDir)
) - 但它打破了。
That's a known problem with uninstaller of VS2012 RC/Beta. It will deregister the platform SDK, delete the folder, and even worse - would make changes for all previous VS versions. I am not sure what registry settings it changes (Around $(VCInstallDir)
) - but it breaks it.
只有选项是找到相关的头,库和可执行文件,复制路径,并将其添加到您的VC2010(和以前,如果有)。你在VC ++目录中在Tools-> Options中做,但是VC2010不支持!所以,你最好在你的项目本身指定路径。
Only option is to find the relevant header, library and executable files, copy the path, and add it to your VC2010 (and previous, if any). You do it by VC++ Directories in Tools->Options, but that's not available for VC2010! So, you better specify the path in your project itself.
高顺序,我知道,但它是这样 - 或者你只是重新安装你的操作系统。有一些完整的VS卸载工具,但我现在找不到它。
Tall order, I know, but it is like that - or you just re-install your OS. There is some "complete VS uninstallation" tool, but I couldn't find it now.
这篇关于Visual Studio不能找到任何标准的c ++库文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!