title: AppSettings.*.json files not copied on Publish in ASP.NET CORE 1.1
body: <p>I am publishing an ASP.NET Core 1.1 project with <strong>.csproj</strong> file ...</p>
  
  <p>When I publish it the project is compiled and all the files, including the ones in wwwroot are copied, but all appsettings.*.json files are missing.</p>
  
  <p>I am not sure why because I have the following:</p>
  
  <pre><code>&lt;Content Include="**\*.json" /&gt;
  </code></pre>
  
  <p>What am I missing? Here is the complete .csproj file.</p>
  
  <pre><code>&lt;Project&gt;
  
    &lt;Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" /&gt;
  
    &lt;PropertyGroup&gt;
      &lt;OutputType&gt;Exe&lt;/OutputType&gt;
      &lt;TargetFramework&gt;netcoreapp1.1&lt;/TargetFramework&gt;
      &lt;PreserveCompilationContext&gt;true&lt;/PreserveCompilationContext&gt;
      &lt;PackageTargetFallback&gt;$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;&lt;/PackageTargetFallback&gt;      
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Compile Include="**\*.cs" /&gt;   
      &lt;Content Include="**\*.json" /&gt;
      &lt;EmbeddedResource Include="**\*.resx" /&gt;        
    &lt;/ItemGroup&gt;
  
   &lt;ItemGroup&gt;
      &lt;PackageReference Include="System.Runtime" Version="4.3.0" /&gt;
      &lt;PackageReference Include="Microsoft.NETCore.App" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.NET.Sdk.Web" Version="1.0.0-alpha-20161104-2-112"&gt;
        &lt;PrivateAssets&gt;All&lt;/PrivateAssets&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Identity" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Razor.Tools" Version="1.1.0-preview4-final" /&gt;  
      &lt;PackageReference Include="Microsoft.AspNetCore.ResponseCaching" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="1.0.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Rewrite" Version="1.0.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.0.0-msbuild1-final" /&gt; 
    &lt;/ItemGroup&gt;  
  
    &lt;Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /&gt;
  
    &lt;Target Name="Prepublish" BeforeTargets="PrepareForPublish" Condition=" '$(IsCrossTargetingBuild)' != 'true' "&gt;
      &lt;Exec Command="npm install" /&gt;
      &lt;Exec Command="bower install" /&gt; 
      &lt;Exec Command="gulp build" /&gt;
    &lt;/Target&gt;   
  
  &lt;/Project&gt;
  </code></pre>