Error : "The base class or interface 'System.ComponentModel.Component' in assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referenced by type 'System.Windows.Forms.CommonDialog' could not be resolved c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Windows.Forms.dll "
Code Snippet:
OpenFileDialog dialog = new OpenFileDialog();
P.S.: I have added reference to assembly "System.Windows.Forms.dll " in "Reference" of solution.