We moved recently, with our software development at Kynetec (previously: GfK Animal and Crop Health / GfK Kynetec), to Visual Studio 2010.
The first thing I did was to run all unit tests for our main project.
For reasons not relevant to this text, some of the tests failed.
Because the cause of failure wasn't that obvious, I added some Debug.WriteLine statements.
But then, couldn't find the actual output... :-)
Previously, IIRC, it would've been displayed in the standard Output window.
But now it wasn't there.
Fortunately, the Internet comes to the rescue - see the discussion on
StackOverflow.
Just right click on the test in the Test Results window, select View Test Results Details and voila.
Let's try a simple test to see where the different outputs will go (Console, Debug, Trace):
<TestMethod()>
Public Sub TestShowHideDockWindow()
Trace.WriteLine("Trace output...")
Debug.WriteLine("Debug output...")
Console.WriteLine("Console output...")
End Sub
This produces the following output in the Results tab:
And now everything should be clear. :-)
HTH
Top
|