I tried to add the to System.Windows.Forms.dll and other dlls from the add reference menu, but got an error saying:

'A reference to System.Windows.Forms.dll could not be added.Converting the type Library to .Net assembly failed. Type Library System_Windows_Forms was exported from a CLR assembly and cannot be re-imported as CLR assembly.'

Please suggest me is this because of some patches need to be installed or what.