Export (0) Print
Expand All
5 out of 23 rated this helpful - Rate this topic

How to: Set Sample Settings 

The .NET Framework Samples require environment variable values to be specified on your computer. The variables are initialized when you start the SDK Command Prompt.

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\Microsoft.NET\SDK\v2.0\bin

  • Program Files\Visual Studio 8\SDK\v2.0\bin

The SDK Command Prompt calls 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.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.