none
namespace System::Windows::Documents in Visual C++ 2010 not recognized by compiler RRS feed

  • Question

  • Dear MSDN friends:

    Can you help with this?:

    namespace System::Windows::Documents in Visual C++ 2010 not recognized by compiler

    Thanks

    nmtaruc


    napmtaruc

    Wednesday, January 30, 2013 1:59 AM

Answers

All replies

  • This means that your project does not contain a reference to PresentationFramework.dll [http://msdn.microsoft.com/en-us/library/47w1hdab(v=vs.100).aspx]. This assembly is usually used in WPF applications.

    • Marked as answer by napmtaruc Thursday, January 31, 2013 2:19 AM
    Wednesday, January 30, 2013 8:19 AM
  • thanks Viorel

    At my proj property pages/ common properties/ framework and references,

    I added:   'PresentationFramework",

    build my proj solution, and "..::Documents" was recognized.

    Afterwards, I learned that RichTextBox of WPF is not the same beast as WinForms RichTextBox.


    napmtaruc

    Thursday, January 31, 2013 2:19 AM