title: Visual Studio ASP.NET Core 1.0 project can't compile
body: <p>Help. I can't compile my project from VS 2015, apparently something went wrong when installed/uninstalled of the project packages with NuGET.</p>
  
  <p>Every time I want to build, I get the following errors:</p>
  
  <blockquote>
    <p>Unexpected end of content while loading JObject. Path 'dependencies',
    line 60, position 0.  AutorizarCreditoApp C:\Program Files
    (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets
    262</p>
  </blockquote>
  
  <p>And </p>
  
  <blockquote>
    <p>Unexpected end of content while loading JObject. Path 'dependencies',
    line 60, position 0.  AutorizarCreditoApp C:\Program Files
    (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets 262</p>
  </blockquote>
  
  <p>NuGET packages cannot restore anything, so I'm stuck and the project is messed up. I just watch the files, at the current lines, but it doesn't any sense to me, for example Microsoft.Dot.Net.Common.Targets complains at the beginning of this:</p>
  
  <pre><code>&lt;Dnx
        RuntimeExe="$(SDKToolingExe)"
        Condition="'$(_DesignTimeHostBuild)' != 'true'"
        ProjectFolder="$(MSBuildProjectDirectory)"
        Arguments="$(_BuildArguments)"
        /&gt;
  </code></pre>
  
  <p>And, project.json:</p>
  
  <pre><code>{
    "dependencies": {
      "Microsoft.NETCore.App": {
        "version": "1.0.0",
        "type": "platform"
      },
      "Microsoft.AspNetCore.Mvc": "1.0.0",
      "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
      "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
      "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
      "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
      "Microsoft.Extensions.Configuration.Json": "1.0.0",
      "Microsoft.Extensions.Logging": "1.0.0",
      "Microsoft.Extensions.Logging.Console": "1.0.0",
      "Microsoft.Extensions.Logging.Debug": "1.0.0",
      "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
      "Microsoft.AspNetCore.Owin": "1.0.0",
      "Microsoft.AspNetCore.Authentication.OAuth": "1.0.0",
      "Dapper": "1.50.2",
  
      "tools": {
        "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
      },
  
      "frameworks": {
        "netcoreapp1.0": {
          "imports": [
            "dotnet5.6",
            "portable-net45+win8"
          ]
        }
      },
  
      "buildOptions": {
        "emitEntryPoint": true,
        "preserveCompilationContext": true
      },
  
      "runtimeOptions": {
        "configProperties": {
          "System.GC.Server": true
        }
      },
  
      "publishOptions": {
        "include": [
          "wwwroot",
          "Views",
          "Areas/**/Views",
          "appsettings.json",
          "web.config"
        ]
      },
  
      "scripts": {
        "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
      }
    }
  </code></pre>
  
  <p>UPDATE:
  After adding a } character to the project.json character I tried to compile it again.</p>
  
  <p>After that now the errors are the following:</p>
  
  <blockquote>
    <p>Unable to find project.json in
    'C:_Fuentes\AutorizarCreditoApp\src\AutorizarCreditoApp'</p>
    
    <p>'C:_Fuentes\AutorizarCreditoApp\src\AutorizarCreditoApp\project.json'
    does not have any frameworks listed in the 'frameworks'
    section.  AutorizarCreditoApp C:\Program Files
    (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets 262</p>
  </blockquote>