Adding a Universal Windows C# Class Library reference to a Universal Windows C++ DLL project Visual Studio 2015
<p>As the title describes, I am trying to add a UWP C# class library reference to a UWP C++ DLL project. Both projects are targeting Windows 10 v10.0.14393.0.  When the reference is added, everything appears to be valid and the reference shows up under the reference list with no errors listed.  When you try to use the reference and compile, the following error is given: </p>

<blockquote>
  <p>C2871  a namespace with this name does not exist.  </p>
</blockquote>

<p>Am I missing something here? The only options when creating a new Universal Windows C++ project are DLL, Static Lib, and Windows Runtime Component.  There is not a class library option for C++.  I tried all three different projects with the same outcome.  Can someone please provide a solution and/or explain why I am not able to reference a UWP C# class library from a UWP C++ project?  This seems like something that should be possible. I know it has been possible in the past, prior to UWP.</p>

<p>Code is simple.</p>

<p>C# Code:    </p>

<pre><code>namespace ClassLibrary1
{
    public class Class1
    {
    }
}
</code></pre>

<p>C++ Code:</p>

<pre><code>using namespace ClassLibrary1;
</code></pre>