(转)Visual Studio 2010常见问题总结

http://blog.sina.com.cn/s/blog_6923201d0100xmfc.html
(1)VS全局环境变量配置
vs下属性管理器在“视图”-->“其他窗口”-->"属性管理器"

首先找到Visual Studio 2010的属性资源管理器,如下图 1

Visual <wbr>Studio <wbr>2010常见问题总结
图 1 Visual Studio 2010 属性资源管理器

如果是配置Debug下的全局依赖项,双击“Micosoft Cpp.Win32.user”,把需要添加的一些依赖项添加进来即可

安装以上配置完成以后,以后所有的项目都可以使用这次添加的依赖项了,而不需要每次新建项目都重新添加了!
(2)VS在编写Win32 Console Application的时候,总是弹出一个错误窗口,提示异常,如果继续编写程序,Visual Studio 2010就提示必须重新启动,错误代码如下:
Visual Studio has encountered an exception.This may be caused by an extension.
You can get more information by running the application together with the /log parameter on command line ,and then examining the file 'C:\Document and Settings\Administrator\Application Data\Microsoft\Visual Studio\10.0\ActivityLog.xml'
解决方案:
打上这个补丁VS10-KB2251084-x86.exe
(3)让visual studio 2010完成代码的自动排版功能
快捷键:Alt+F8


Good Luck!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值