System is not a valid namespace when using: "using namespace System::Diagnosics " RRS feed

  • Question

  • I am getting the error message: "'System' : is not a class or namespace name" when using the aforementioned call in my code. I am also using "#using <System.dll> before this line. I am using VS2005 on Vista 64. Any ideas on what could the issue be?

    Thanks in advance,
    Monday, December 7, 2009 6:19 PM


  • You probably need help in Visual C++ IDE to setup references. Visit the Visual C++ General forum, which covers the IDE.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    Monday, December 7, 2009 8:41 PM