启动VS2010报错:The Environment variable LocalAppData must be manually configured for Windows XP and Windows Server 2003

来源:互联网 发布:java jdbc连接池实例 编辑:程序博客网 时间:2024/05/16 09:09

在WindowsXP或者Server 2003操作系统中,安装VS2010 Ultimate版本,每次启动VS2010都会弹出两个对话框,提示内容是:

 

The Environment variable LocalAppData must be manually configured for Windows XP and Windows Server 2003.

Please visit http://channel9.msdn.com/tags/FeatureBuilder for more information.

 

解决方案:

 

1) 右单击我的电脑,属性

 

2) 点击高级,点击环境变量

 

3) 点击“×××的用户变量”下部的新建按钮

 

4) 变量名:LOCALAPPDATA,变量值:%USERPROFILE%/Local Settings/Application Data

 

如果你使用英文版操作系统:

 

1) Right-click on the My Computer and choose Properties
2) Click Advanced
3) Click Environment Variables
4) Under User variables section, click New
In the Variable name: field, type LOCALAPPDATA
In the Variable value: field, type %USERPROFILE%/Local Settings/Application Data