I have a problem in visual studio SharePoint projects deployment that when an error occurred there is no stack trace enabled that i can see the details of the error like that
So i found a solution to enable stack trace for SharePoint projects in visual studio by adding a registry key to enable diagnostics logging for SharePoint projects
- Open registry editor by open start up menu – > type run -> type regedit then click ok
- Create a DWORD key type , the name is “EnableDiagnostics” and value “00000001” under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools “the “10.0” folder for visual studio 2010 and you can do the same in your visual studio version“
- Restart the operating system
- Now i can see the details of deployment in the visual studio output window as image below and in which step it fails.
Hope it will help.