I am working on an issue I do not remember ever having before. I am using VS2012 C#
When i add using System.IO; to my main program everything works fine
System.IO
You must add Reference to assembly in your project.