Labworkflow BuildResults - can't navigate to source-code where the test failed.
-
29 martie 2012 12:03
Hi,
After I ran a labworkflow, I can click a link "View Test Results" in the build.
This click opens MTM.exe, and automatically navigates to the testresult.
When you open a test from this test-result, in attachments there is the "tmiResult.tr_" file, which, when double-clicked opens the test's result in VS2010.
If the test failed, you can click on the links to the stacktrace where the test failed.
Unfortunately the source-location points to: "C:\Builds\34\Sources\MyProject\SomeFile.cs : line: 58", which is a location on the build-server, and cannot be opened.
The build definition I use does publish symbols to a network-share, and my VS2010 is configured to get symbols from that location.
How can I directly navigate from test-results in VS2010 to the source-file with the correct version?
Greetings Johannes
Toate mesajele
-
2 aprilie 2012 10:39Moderator
Hello Johannes,
As the TFS builds actually are run on the TFS Build machine, that is the reason why you are trying to open the file on the build server machine.
And as far as I know that in order to deal with such an issue, you need to setup one symbol server just as you mentioned above. Please make sure you have set up the symbol server succssfully. Please refer to these two blogs for further information:
http://blogs.msdn.com/b/jimlamb/archive/2009/06/15/symbol-and-source-server-in-tfs-2010.aspx
Thanks.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
-
3 aprilie 2012 11:42
Hi Vicky,
if I open the test-result (tmiResult.tr_, which in turn opens the "Test Result" in VS2010) I still cannot navigate to the source.
However - if I open the .iTrace file, then click on the Exception which lead to the error, the source-file is succesfully opened.
Any idea what might be wrong?