Hi ,
i am creating a consol application. In this, when ever an error comes, i neeed to pop up a message. So i used messagebxo.show. For this i have added using System.Windows.Forms;. but i am geting the follwing error. I have made the output type for the application as windows application

Error	1	The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)

Add Reference ".Net" -> "System.Windows.Forms".

Right Click On the project >> Add Reference >> .Net >> System.Windows.Forms

That should do it