Releases » Stuff » Visual Studio 2010 Macros »
Extremely handy event-handling macro that automatically jumps to the first error after a failed build.

Notes:

Public Module EnvironmentEvents

    ' Paste this into your macro set's 'EnvironmentEvents' right after a block named:
    ' Automatically generated code, do not modify

    ' After build event:
    ' Beep and automatically jump to first error when build finishes.
    Private Sub BuildEvents_OnBuildProjConfigDone(ByVal Project As String, ByVal ProjectConfig As String, ByVal Platform As String, ByVal SolutionConfig As String, ByVal Success As Boolean) Handles BuildEvents.OnBuildProjConfigDone
        If Success = False Then
            DTE.ExecuteCommand("Build.Cancel")
            DTE.ExecuteCommand("Edit.GoToNextLocation")
        End If
    End Sub

End Module
 

Downloads:

No downloads available at this time.
 

Pictures: (click to enlarge)