0

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?)
2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by vivek4020
0

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

0

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

That should do it

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.