Sunday, December 16, 2012

Visual Studio: using namespace System error

Visual Studio doesn't automatically set itself up to use forms.


If you make a new project and add a form, follow these additional steps.

1) Open your solution explorer panel (Ctrl+Alt+L). Right click your project and click properties


2) In the dialog that opens, navigate to Configuration Properties > General. Find the field that says "Common Language Runtime Support". Answer with "yes, I'd love some 'Common Language Runtime Support (/clr)' ".


And then smack it because it should've known that already

searches:
using namespace system name must be a namespace name
using namespace system error
namespace system does not exist

1 comment: