title: How to disable error checking in VSCode for net46 framework on Mac OS X
body: <p>I have ASP.NET Core project which has both <strong>netcoreapp</strong> and <strong>net46</strong> in frameworks section. I can build and run it without any problem on Mac OS X. But when i open it in VSCode it shows tons of errors like this: <code>Predefined type '...' is not defined or imported [net46]</code> and everything is red.</p>
  
  <p>Is there any way to fix it without removing net46 from project.json? </p>
  
  <p>Frameworks section of my project.json:</p>
  
  <pre><code>"frameworks": {
    "net46": {
      "dependencies": {
        "System.Net.Http": "4.0.0-*"
      }
    },
    "netcoreapp1.0": {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "version": "1.0.0-*",
          "type": "platform"
        },
        "System.Net.Http": "4.0.1-*"
      },
      "imports": [
        "dnxcore50"
      ]
    }
  }
  </code></pre>