title: An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module
body: <p>I get the following error when I try to run my ASP.NET Core project from Visual Studio 2015 (Update 3):</p>
  
  <pre><code>An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module.
  </code></pre>
  
  <p>I get that after changing the dependency in project.json <code>"Microsoft.NETCore.App": "1.0.0"</code>, due a problem at compiling. After changing that it compiled but now I get that error. I also installed the Tooling Preview 2 before this error.</p>
  
  <p>This is my current project.json file:</p>
  
  <pre><code>{
    "dependencies": {
      "Microsoft.NETCore.App": "1.0.0",
      "Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-final",
      "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
      "Microsoft.AspNetCore.Razor.Tools": {
        "version": "1.0.0-preview1-final",
        "type": "build"
      },
      "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
      "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
      "Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-final",
      "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
      "Microsoft.Extensions.Configuration.Json": "1.0.0",
      "Microsoft.Extensions.Logging": "1.0.0-rc2-final",
      "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
      "Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final",
      "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc2-final",
      "System.Data.Common": "4.1.0",
      "System.Data.SqlClient": "4.1.0",
      "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0"
    },
  
    "tools": {
      "Microsoft.AspNetCore.Razor.Tools": {
        "version": "1.0.0-preview1-final",
        "imports": "portable-net45+win8+dnxcore50"
      },
      "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
        "version": "1.0.0-preview1-final",
        "imports": "portable-net45+win8+dnxcore50"
      }
    },
  
    "frameworks": {
      "netcoreapp1.0": {
        "imports": [
          "dotnet5.6",
          "dnxcore50",
          "portable-net45+win8"
        ]
      }
    },
  
    "buildOptions": {
      "emitEntryPoint": true,
      "preserveCompilationContext": true
    },
  
    "runtimes": {
      "win81-x64": {}
    },
  
    "runtimeOptions": {
      "gcServer": true
    },
  
    "publishOptions": {
      "include": [
        "wwwroot",
        "Views",
        "appsettings.json",
        "web.config"
      ]
    },
  
    "scripts": {
      "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ],
      "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
    }
  }
  </code></pre>