Edit

Share via


MSB3091 diagnostic code

This article describes the MSB3091 error code.

Message text

MSB3091: Task failed because 'value' was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for 'value' in the 'bin' subdirectory beneath the location specified in the 'value' value of the registry key 'value'. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the 'ToolPath' parameter of the task.

Description

This error occurs when a task failed because it depends on the Windows SDK, which was not found or not installed.

Resolution

Install or reinstall the Windows SDK.

Applies to

All versions of MSBuild