SDK Command Prompt

The SDK Command Prompt, which automatically sets the SDK environment variables that enable you to easily use.NET Framework tools, is included in the .NET Framework version 2.0 Software Development Kit (SDK).

Subsequent releases of the .NET Framework are built incrementally on the .NET Framework version 2.0. Consequently, the SDK Command Prompt from the .NET Framework 2.0 SDK is the latest stand-alone SDK Command Prompt available. Alternatively, you may use the Visual Studio command prompts that are provided with Visual Studio 2005 and later versions.


The required environment variable values are provided by the sdkvars.bat batch file located in the SDK\v2.0\bin folder. The SDK Command Prompt calls this batch file, but the variables expire when you close the command prompt.

To make the settings permanent, you can add the variable values to your system variables by using the Environment Variables dialog box, which you can access from the Advanced tab of System 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


.NET Framework Tools

Change History




July 2008

Added information about later versions of the .NET Framework being based on version 2.0.

Customer feedback.