Setting vc++ directory is different with vs2008 on vs2010.
In vs2008, we can change our extensional directory by setting the environment directory by Tools->Options->Projects and Solutions->VC++ Directories.
In vs2010, this above setting is deprecated. You should change the extensional directories by using the properties of project(not solution).
Here is the steps for setting outside directories for your project.
1 choose the project you want to extend directories and see the properties windows below(if you don't change the windows layout).
2 Click the icon to call out the property page.
3 On the left navigator, Configuration Properties->VC++ Directories.
By the way, you will see you can change the former directories in "include directories". That causes that vs2010 will read the configuration file to set the reserved directories. So these directories will be unchanged. You should change the configuration file to change the reserved directory.
You can find the file under such path(Under windows 7 opration system), C:\Users\Account\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props
For windows xp platform, you can find the file under C:\Documents and Settings\UserName\Local Settings\Application Data\Microsoft\MSBuild\v4.0
Using text editor to open it and you will find the reserved directories apperantly.
本文介绍如何在Visual Studio 2010中设置项目的外部目录,包括包含文件等资源的位置。与VS2008不同,VS2010不再使用工具选项进行配置,而是通过项目的属性页面来指定。
511

被折叠的 条评论
为什么被折叠?



