title: How do I get my program to call a function and write to 'Output" window?
body: <p>I’m trying to get this program to write to the ‘Output’ or Immediate window.  The program runs ok but how do I call the piece of code that I need to be executed in the output window?  I gues what I’m asking is how do I get my program to call this function? </p>
  
  <pre><code>  public class UtilityTest
  {
      [Test]
      public void FindConflictingReferences()
      {
          var assemblies = GetAllAssemblies(@"C:\MyProject\bin\debug");
  
          var references = GetReferencesFromAllAssemblies(assemblies);
  
          var groupsOfConflicts = FindReferencesWithTheSameShortNameButDiffererntFullNames(references);
  
          foreach (var group in groupsOfConflicts)
          {
              System.Diagnostics.Debug.WriteLine("Possible conflicts for {0}:", group.Key);
              foreach (var reference in group)
              {
                  System.Diagnostics.Debug.WriteLine("{0} references {1}",
                                        reference.Assembly.Name.PadRight(25),
                                        reference.ReferencedAssembly.FullName);
              }
          }
      }
  </code></pre>
  
  <p>UPDATE:</p>
  
  <p>I've ran it with debug window using F5.  Also put break point in the code but that code does not seem to run.  Is there something I'm missing from the default page that can call the method?</p>