Explanation:
This issue may occur If you have multiple Visual Studio version instances installed in your box
Solution 1:
Make sure the BuildNotification.exe version loaded in your box matches the Visual Studio version you used for development
BuildNotification.exe for Visaul Studio 2012 will be located at <drive>:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
Solution 2:
1. Exit out of the BuildNotification tool from taskbar. (right click and Exit).
2. Navigate to <drive>:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
3. Open BuildNotification.exe.config
4. Edit the trace in there to uncomment to capture the trace.
Original from:
<!-- enable soap tracing by uncommenting the following
<appSettings>
<add key="TFTrace.Writer" value="true" />
<add key="TFTrace.DirectoryName" value="%TEMP%\\TFLogFiles" />
<add key="TeamFoundationSoapProxy.EnableSoapTracing" value="true" />
</appSettings>
<system.diagnostics>
<switches>
<add name="TeamFoundationSoapProxy" value="4" />
<add name="General" value="4" />
</switches>
<trace autoflush="true" indentsize="3"/>
</system.diagnostics>
-->
</configuration>
to:
<!-- enable soap tracing by uncommenting the following -->
<appSettings>
<add key="TFTrace.Writer" value="true" />
<add key="TFTrace.DirectoryName" value="%TEMP%\\TFLogFiles" />
<add key="TeamFoundationSoapProxy.EnableSoapTracing" value="true" />
</appSettings>
<system.diagnostics>
<switches>
<add name="TeamFoundationSoapProxy" value="4" />
<add name="General" value="4" />
</switches>
<trace autoflush="true" indentsize="3"/>
</system.diagnostics>
</configuration>
5. Save the trace.
** You might have to open notepad.exe as Administrator if it does not allow you to save it.
** Don't close notepad, because you will need to undo this tracing later.
6. Run "Build Notification" from TFS2012.
7. Trigger a Gated Build. Once the build complete, wait for a few minutes to confirm the dialog appears.
If it works, you can undo the steps from 1-6 again to undo the steps.