Can I use Console.Write?

Feb 10, 2011 at 2:00 AM

I use resharper 5.0. I found that if I use Console.WriteLine it wouldn't work. It there a way to make it work? 

Coordinator
Feb 10, 2011 at 9:21 AM

Hi,

I have not investigated this yet, although there is an issue for it already:

http://agunit.codeplex.com/workitem/6444

Have you tried using "Silverlight debug" on your tests, that should attach a debugger to the silverlight process.
That way the messages should show up in the Output window of visual studio.

This is a feature I will investigate for the upcoming 0.3 release.

Greetings,

Steven De Kock

Feb 10, 2011 at 5:07 PM

Console.Write does not show up but Debug.WriteLine shows up when I use Silverlight Debug.

Thank you Steven, this is good enough for me!

Coordinator
Feb 10, 2011 at 11:01 PM

Ok, great news ! :)