2012年3月29日 下午 12:03
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?
2012年4月2日 上午 10:39版主
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:
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
2012年4月3日 上午 11:42
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?