.Net Core build a solution
<p>If you try to run from the command line in the top directory of a solution made with visual studio:</p>

<pre><code>dotnet build
</code></pre>

<p>My solution is architectured like that:</p>

<pre><code>MySolution.sln
   &gt; src
       &gt; MyProject1
           &gt; project.json
       &gt; MyProject2
           &gt; project.json
   &gt; test
       &gt; MyProject.Test
           &gt; project.json
</code></pre>

<p>it will fail with the following error:</p>

<pre><code>Couldn't find 'project.json' in current directory
</code></pre>

<p>How could I build the solution without having to specify each project explicitely (and then without the related maintenance) ?</p>