title: Display AppSetting.json as a "versioned or nested" File In Visual Studio UI
body: <p>I have a <code>.NETStandard</code> library &amp; need to add (versioned) JSON files by configuration-environment.  The trick is...I want to see if it is possible to setup the Project File (.proj) to list them in the same manner they would if it was a Web.Config file.</p>
  <p>FOR EXAMPLE:<br/>
  A web.config will display this way in Visual Studio<br/>
  <a href="https://i.stack.imgur.com/A5yQC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A5yQC.png" alt="Web Config by-environment" /></a></p>
  <p>It accomplishes this by doing the following in the .PROJ file:<br/></p>
  <pre><code>&lt;None Include=&quot;Web.Debug.config&quot;&gt;
    &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
  &lt;/None&gt;
  &lt;None Include=&quot;Web.ModelOffice.config&quot;&gt;
    &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
  &lt;/None&gt;
  &lt;None Include=&quot;Web.Release.config&quot;&gt;
    &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
  &lt;/None&gt;
  &lt;None Include=&quot;Web.Development.config&quot;&gt;
    &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
  &lt;/None&gt;
  &lt;None Include=&quot;Web.Production.config&quot;&gt;
    &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
  &lt;/None&gt;
  </code></pre>
  <p>So, to be clear...<br/></p>
  <p><a href="https://i.stack.imgur.com/K3l98.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K3l98.png" alt="Desired Effect" /></a></p>
  <p>But this does NOT work in a <code>.NETStandard</code> library...<br/></p>
  <pre><code>&lt;None Include=&quot;appsettings.json&quot; /&gt;
  &lt;None Include=&quot;appsettings.development.json&quot;&gt;
    &lt;DependentUpon&gt;appsettings.json&lt;/DependentUpon&gt;
  &lt;/None&gt;
  &lt;None Include=&quot;appsettings.modeloffice.json&quot;&gt;
    &lt;DependentUpon&gt;appsettings.json&lt;/DependentUpon&gt;
  &lt;/None&gt;
  &lt;None Include=&quot;appsettings.production.json&quot;&gt;
    &lt;DependentUpon&gt;appsettings.json&lt;/DependentUpon&gt;
  &lt;/None&gt;
  </code></pre>