Export (0) Print
Expand All

How to: Enable Diagnostic Messages for the SharePoint Development Tools in Visual Studio 2010

SharePoint 2010

Published: April 2011

This topic explains how to enable more verbose diagnostic messages, including a stack trace, for the SharePoint development tools in Microsoft Visual Studio 2010.

The additional diagnostic message will appear in the Output window of Visual Studio. Any messages in the Error List window are the same regardless of whether you carry out this procedure.

To enable diagnostics for the SharePoint development tools in Visual Studio 2010

  1. Open the registry on your development computer and navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools.

  2. Right-click SharePointTools, select New, and then select DWORD (32-bit) Value.

  3. Name the new value EnableDiagnostics. (You must use exactly this term.)

  4. After the value is created, right-click it and select Modify.

  5. In the Edit dialog box, change Value data to 1.

  6. Click OK, and then close the registry.

Community Additions

© 2014 Microsoft