Welcome to the Windows® Software Development Kit (SDK) for Microsoft Windows Server code name “Longhorn” and .NET Framework 3.5. The Windows SDK contains documentation, samples, headers, libraries, and tools designed to help you develop Windows applications.
Please note that this release is for preview purposes only. The APIs, documentation, samples, headers, libraries, and tools provided in this release are preliminary and subject to change.
Note: this release of the Windows SDK does NOT include .NET Framework 3.5.
Note: This edition of the Windows SDK includes a large file composed of the .NET Framework reference documentation. Because the file is so large, installing the Windows SDK might fail in certain networking environments. More information is available in the Downloading section.
Microsoft offers additional free developer tools and resources including:
The contents included in the Windows SDK are licensed to you, the end user. Your
use of the SDK is subject to the terms of an End User License Agreement ("EULA")
accompanying the SDK and located in the \License
subdirectory. You must read and
accept the terms of the EULA before you access or use the SDK. If you do not agree
to the terms of the EULA, you are not authorized to use the SDK.
This release of the Windows SDK supports the RTM release of Microsoft® Visual Studio® 2005 SP1. Express Editions of Visual Studio are available to download from the Visual Studio Express site, free of charge.
This release of the Windows SDK supports x86, x64, IA64 platforms for building and running samples on Windows XP SP2, Windows Server 2003 SP1, Windows Vista, and Windows Server codename "Longhorn".
To optimize your Windows SDK setup experience, we strongly recommend that you install the latest updates and patches from Microsoft Update before you begin installing the Windows SDK.
This version of the Windows SDK is available as a DVD ISO image only.
The DVD ISO image of the Windows SDK available from Download Center will not install the SDK directly on to your hard disk without the use of additional tools. See the Installation Instructions below for more information. The DVD ISO image requires a minimum of 1.4 GB of free disk space to install. If you do not have that much free disk space, you can use the SDK's custom setup options to install a subset of the content.
This edition of the Windows SDK includes a large file composed of the .NET Framework reference documentation. Because the file is so large, installing the Windows SDK might fail in certain networking environments.
If you do not want the .NET Framework documentation, deselect this install option in the Windows SDK setup program.
If you do want the .NET Framework documentation, make sure you have either burned the ISO image to DVD for use in the DVD drive in your local computer, or you have mounted the ISO image locally on your computer, or you have copied the contents of the ISO locally to your computer before running the Windows SDK setup program.
It is recommended that the Windows SDK be installed on a clean machine or completely uninstall any pre-releases of the WinFX Runtime Components 3.0, the WinFX SDK, the Platform SDK, the Windows SDK, Microsoft Visual Studio®, and their dependencies before installing this release. These older components may interfere with this release, causing setup to fail or break functionality.
Note that you may see more than one Windows SDK product listed in the Upgrade Options screen. All of the Windows SDK products may be removed by going to Add/Remove Programs, browsing for the Microsoft Windows Software Development Kit, and selecting Remove (in Windows XPSP2 and Windows Server 2003) or Uninstall (in Windows Vista or later).
To install the Windows SDK:
Note: If you intend to use Visual Studio to develop .NET Framework 3.0 applications, you must install the Windows SDK before installing the Visual Studio 2005 Extensions for .NET Framework 3.0. It is essential that you use the version of Visual Studio identified in the Installation Instructions in .NET Framework 3.0 setup.
The Windows SDK installs both its core components and external applications as separate MSI files. Please note that several applications might need to be uninstalled from Add/Remove Programs in order to remove all SDK components. Those components are:
Note that you may have installed some of these applications outside of your SDK installation. Removing those applications from Add/Remove Programs will make those applications unavailable for other applications that may use them.
Due to SDK componentization, we recommend re-running the SDK setup.exe from your download location and choosing which features to install. For example, if you choose "Microsoft Windows Software Development Kit" from Add/Remove Programs and then "Change," you will see a different screen that does not show all the internal and external content installed as MSI files.
If you originally only installed the x86 development environment and now want to install the x64 or IA64 development environment, you need to relaunch the SDK setup.exe versus launching the "Change" functionality for the "Microsoft Windows Software Development Kit" located in Add/Remove Programs in the Control Panel.
In order to utilize Windows SDK headers, libraries, and tools within Visual Studio 2005, the SDK-provided Visual Studio registration tool must first be run. The Visual Studio registration tool must run in elevated administrator mode on a Windows Vista computer. When running this tool on a Windows Vista machine it must be run for each user.
To run the Visual Studio Registration Tool, go to:
Start --> All Programs --> Microsoft Windows SDK --> Visual Studio Registration--> Integrate Windows SDK Directories with Visual Studio 2005.
When building Samples, do so in a directory outside of Program Files to which you have write access. To build from the command line:
Build the sample from the command line as follows:
Build a makefile by typing nmake
.
Build a .csproj file by typing msbuild mysample.csproj.
Build a .vbproj file by typing msbuild mysample.vbproj.
Build a .vcproj by typing vcbuild mysample.vcproj.
Samples demonstrating .NET Framework 3.0 can be found individually in the SDK documentation. Each sample has its own description page. From each sample page, you can view the source files for those samples as well as individually download all the files of that sample to a chosen location. The .NET Framework 3.0 samples can be accessed in bulk by directly opening the sample .zip files located in %MSSDK%\Samples.
Some samples included with the Windows SDK have dependencies on components outside of the Windows SDK.
The following samples require the ATL and/or MFC headers, libraries or runtime included with Visual C++ (non-express editions):
The following samples require Windows Media Player 11 or later to be installed:
The following samples require the MMC 3.0 or later to be installed:
The following samples require the DirectX SDK :
The following samples require Visual Studio to build:
By default, the Windows SDK is installed to your hard disk in the locations described in the following table. This list is not complete, but covers the most common directories.
Directory |
Contents |
---|---|
\Bin |
Windows SDK tools |
\Help |
Windows SDK documentation |
\Include |
Windows SDK headers |
\Lib |
Import libraries and TLB files |
\License |
Windows SDK license information |
\Samples |
Windows SDK samples |
This release of the Windows SDK has the following known issues. Known issues are categorized by type.
If the SDK was installed from a networked drive as a regular user, the Change or Repair functionality from the Maintenance screen in Add/Remove Programs will fail.
To work around this issue, re-launch setup.exe from the networked drive. This will launch the Maintenance screen, from which the installation can be changed or repaired.
After uninstalling the Windows SDK, run Repair on any side-by-side installation of the Windows SDK or Visual Studio codename "Orcas"
The link to the "Windows Vista Samples" is broken in the documents at Getting Started -> Welcome to the Windows SDK -> Samples and Tutorials. Win32 samples install by default to your hard drive at Program Files\Microsoft SDKs\Windows\v6.0A\Samples.
Having multiple copies of WpfPerf.exe on your system will cause WpfPerf to crash during startup.
To work around this issue, remove any copies of WpfPerf.exe from your system before installing WpfPerf.msi.
When targeting ia64, building with full optimization for /Release does not work and you will receive an error: sched.dll is missing. You should not use the /Ox compiler switch in this scenario. To build for /Release, add the /Od switch to disable optimization. Building for ia64 /Debug is not an issue.
The Windows SDK is provided "as-is" and is not supported by Microsoft. For technical support, there are a number of options:
Microsoft Professional Support for Developers provides incident-based access to Microsoft support professionals and rich information services to help developers to create and enhance their software solutions with Microsoft products and technologies.
For more information about Professional Support for Developers, or to purchase Professional Support incidents, please contact a Customer Representative at 1-800-936-3500. To access Professional Support for Developers, visit the MSDN web site. If you have already purchased support incidents, and would like to speak directly with a Microsoft support professional, call 1-800-936-5800.
MSDN online support allows access to Developer Support search, support incident submission, technical and product information, support highlights, service packs, downloads, webcasts, and MSDN Online's member communities.
The MSDN Forums are available for peer-to-peer support. The Windows SDK Forum deals with topics related specifically to the Windows SDK. The Software Development for Windows Vista forum contains an updated list of related forums.
The Windows SDK team also maintains the Windows SDK Blog which contains late-breaking and forward-looking news.
Copyright © 2007 Microsoft Corporation. All rights reserved. Legal Notices: http://www.microsoft.com/legal/.