How to reference projects in .Net Core
<p>Assume that I have this solution structure:<p></p>

<ul>
<li>ProjectA (Class library - .NET Standard 1.5)</li>
<li>ProjectB (Class library - .NET Standard 1.5)</li>
<li>ProjectConsole (Console Application - netcoreapp1.0)</li>
</ul>

<p>Where <strong>ProjectB</strong> has reference to <strong>ProjectA</strong>, and <strong>ProjectConsole</strong> has reference to <strong>ProjectB</strong></p>

<p>If in project.json I declare something like that:</p>

<pre><code>"dependencies": {
    "ProjectA": "1.0.0-*",
    ...
  },
</code></pre>

<p>Then in ProjectConsole it's possible to do something like this:</p>

<pre><code>var projectA = new Project.Class1();
</code></pre>

<p>This happen because ProjectB has a reference to ProjectA.
<p>
But I don't want this, the question is, there is a way to prevent that?</p>