title: Console unavailable in class library c#
body: <p>This question <a href="https://stackoverflow.com/questions/1288294/possible-to-output-to-console-from-within-a-class-library-c">here</a> seems contrary to what I have experienced. I cannot access the console from within a new class library. I have <code>using System;</code> at the top. I am using visual studio 11 on windows 8. I doubt that this has been lost in the update, so that means that I am doing something wrong.</p>
  
  <p>Also, once this is working, is the console available in a portable class library?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>here is just a test file I made</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace AdamLib.util.ConsoleSupport
  {
      class SafeRead
      {
          private void test()
          {
              System.Console.Writeline("test"); //Console is not found in system
          }
      }
  }
  </code></pre>
  
  <p>This is in the class library.</p>
  
  <p><strong>RESOLVED</strong></p>
  
  <p>Like I thought, it was my fault.</p>
  
  <p>Thanks to @DarinDimitrov, who pointed out that with VS 11 and metro, Console support has been removed for use with metro. So to resolve this I needed to create a new project with the second kind of class library. There are two listed and I used the one <strong>with</strong> the description that includes metro. To resolve the issue, I had to use the other type <strong>without</strong> metro in the description.</p>
  
  <p>Thanks again to all that helped.  </p>