I'm getting the following error:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Additional information: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Does anyone know what is causing this error? I get this error when I try to run my project and I haven't done anything at all to make the System.Windows.Forms.dll file disappear. I also deleted the reference and added it again to the project but that hasn't fixed the problem. Any other ideas?