title: Windows Runtime Component namespace and internal member visibility
body: <p>sorry, I am new in C++ CX, I am starting a new project and have a few questions... </p>
  
  <p>1) How can I create WRT component in namespace <strong>A.B.C</strong> ? When I use dots, my project is in namespace <strong>A_B_C</strong>, when I change namespaces in code I get error APPX1706: The .winmd file 'A_B_C.winmd' contains type 'A.B.C.class' outside its root namespace 'A_B_C'. What shoud I do ?</p>
  
  <p>2) I want to use DirectX internally in the Component. I need to share some internal members ( like Matrix3x2F, Device... and so on ) internally between public classes inside DLL, but when I use <strong>internal:</strong> keyword, I get message  <strong>106 IntelliSense: public data members are not allowed in non-value types</strong>. Is there any solution of this issue ?</p>
  
  <p>Thank for help...</p>
  
  <p>example :</p>
  
  <pre><code>public ref class CLS1 sealed
  {
  public:
      CLS1();
  
  internal:
      // get error here
      D2D1::Matrix3x2F matrix;
  };
  
  public ref class CLS2 sealed
  {
  public:
      CLS2();
  
      void Render( CLS1^ cls1)
      {
          // need to access internal member here !
          // error
          cls1-&gt;matrix-&gt;Invert();
      }
  
  }
  </code></pre>