title: Typescript can't be compiled in vs code: error TS5007
body: <p>I just installed vs code v1 (the latest version) and typescript v1.8.10 (latest version).
  I followed the exact instruction from vs code <a href="https://code.visualstudio.com/Docs/languages/typescript" rel="noreferrer">website</a> but can't get vs code to build the simplest typescript file though I can manually build it by running tsc command in git bash. The output from the vs code is: </p>
  
  <pre><code>error TS5007: Cannot resolve referenced file: '.'.
  error TS5023: Unknown option 'p'
  Use the '--help' flag to see options.
  </code></pre>
  
  <p>This is the my helloworld.ts file which really can't be simpler:</p>
  
  <pre><code>class Greet {
      private _message : string;
      constructor(message : string) {
          this._message = message;
      }
      Say = () =&gt; console.log(this._message);
  }
  
  var g = new Greet('hello typescript!');
  g.Say();
  </code></pre>
  
  <p>This is my tasks.json file:</p>
  
  <pre><code>{
      // See http://go.microsoft.com/fwlink/?LinkId=733558
      // for the documentation about the tasks.json format
      "version": "0.1.0",
      "command": "tsc",
      "isShellCommand": true,
      "args": ["-p", "."],
      "showOutput": "silent",
      "problemMatcher": "$tsc"
  }
  </code></pre>
  
  <p>and tsconfig.json:</p>
  
  <pre><code>{
      "compilerOptions": {
          "target": "es6",
          "module": "commonjs",
          "sourceMap": true
      }
  }
  </code></pre>