|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Set Sample Settings
Therequire environment variable values to be specified on your computer. The variables are initialized when you start the .
You can set these variables in a variety of ways, depending on your personal preferences. The .NET Framework SDK setup program does not set these variables on your computer.
The required values are provided by the sdkvars.bat batch file located in one of the following directories, depending on whether you installed Microsoft Visual Studio 2005:
Program Files\Visual Studio 8\SDK\v2.0\bin
Thecalls the SDKVars.bat batch file, located in the Program Files\Microsoft.NET\SDK\v2.0\Bin directory. Note that the variables expire when you close the command prompt window.
To make the settings permanent, you can append the variable values to your environment variables by using the My Computer properties.
To start the SDK Command Prompt
Click Start, point to All Programs, point to Microsoft .NET Framework SDK v2.0, and then click SDK Command Prompt.