Referencing shared project in several projects of solution
<p>I am trying to fix warning</p>

<blockquote>
  <p>Warning CS0436: The type 'Class1' in '...\SharedProject1\SharedProject1\Class1.cs' conflicts with the imported type 'Class1' in 'ClassLibrary1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '...\SharedProject1\SharedProject1\Class1.cs'. WpfApplication1   ...\SharedProject1\WpfApplication1\MainWindow.xaml.cs</p>
</blockquote>

<p>Repro:</p>

<ul>
<li>create solution with 3 projects:</li>
</ul>

<p><strong>SharedProject1</strong> (add new class to it)</p>

<pre><code>namespace SharedProject1
{
    public class Class1() { }
}
</code></pre>

<p><strong>ClassLibrary1</strong></p>

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

<p><strong>WpfApplication1</strong> (add this to <code>MainWindow</code> constructor)</p>

<pre><code>public MainWindow()
{
    InitializeComponent();
    var a = new SharedProject1.Class1();
    var b = new ClassLibrary1.Class1();
}
</code></pre>

<ul>
<li><p>reference <code>SharedProject1</code> in both <code>ClassLibrary1</code> and <code>WpfApplication1</code>;</p></li>
<li><p>build, you will get a warning.</p></li>
</ul>

<p>Question: how to fix the warning?</p>