[英]Visual studio cant find any standard c++ library file
Well I had vs2010 ultimate then i downloaded 2012 RC. 好吧,我有vs2010终极然后我下载了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).
它在开始时运行良好,然后在某些时候.net框架搞砸了所以我卸载了2012年和2010年(也许我已经手动删除了一些文件夹)。 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.
现在我重新安装vs2010终极版,问题是没有我想到的标准库文件,所以我不能包含它们中的任何一个。
Any help how to fix that?! 任何帮助如何解决这个问题?!
That's a known problem with uninstaller of VS2012 RC/Beta. 这是VS2012 RC / Beta卸载程序的已知问题。 It will deregister the platform SDK, delete the folder, and even worse - would make changes for all previous VS versions.
它将取消注册平台SDK,删除文件夹,更糟糕的是 - 将对所有以前的VS版本进行更改。 I am not sure what registry settings it changes (Around
$(VCInstallDir)
) - but it breaks it. 我不确定它改变了什么注册表设置(大约
$(VCInstallDir)
) - 但它打破了它。
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). 唯一的选择是找到相关的标题,库和可执行文件,复制路径,并将其添加到VC2010(以及之前的,如果有的话)。 You do it by VC++ Directories in Tools->Options, but that's not available for VC2010!
您可以通过工具 - >选项中的VC ++目录来执行此操作,但这不适用于VC2010! So, you better specify the path in your project itself.
因此,您最好在项目中指定路径。
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.
有一些“完全VS卸载”工具,但我现在找不到它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.