title: Typescript compilation errors not being displayed in VS2015 using gulp-typescript
body: <p>This is something that some days ago was working fine, so I am not sure what has changed since then (other than updating to ASP.NET Core RC2 and installing some extension for VS2015 as I recall)</p>
  
  <p>The issue is that when running from VS2015 a Gulp task to compile my typescript files, if there is an error it shows for example:</p>
  
  <pre><code>[10:02:54] Compiling typescript into javascript
  [10:02:56] TypeScript: 1 semantic error
  [10:02:56] TypeScript: emit succeeded (with errors)
  [10:02:56] Finished 'compile' after 2.47 s
  Process terminated with code 0.
  </code></pre>
  
  <p>without any description of the error.</p>
  
  <p>in CMD:</p>
  
  <pre><code>$ tsc -v
  Version 1.8.10
  </code></pre>
  
  <p>In VS2015 Package Manager console:</p>
  
  <pre><code>PM&gt; tsc -v
  Version 1.8.10
  </code></pre>
  
  <p>so I think VS2015 is at least using the same typescript compiler in PATH and that shouldn't be a problem. Also this is the latest version but I have tried with 1.7 and the same thing happens.</p>
  
  <p>My gulp task:</p>
  
  <pre><code>gulp.task('compile', function () {
      log('Compiling typescript into javascript');
      return gulp
              .src(config.allts)
              .pipe($.sourcemaps.init())
              .pipe($.typescript({
                  noImplicitAny: true,
                  target: 'ES5'
              }))
              .pipe($.sourcemaps.write('.'))
              .pipe(gulp.dest(config.compileFolder));
  });
  </code></pre>
  
  <p>And I am using:</p>
  
  <pre><code>"gulp-typescript": "2.10.0"
  </code></pre>
  
  <p>although I have tried with the latest:</p>
  
  <pre><code>"gulp-typescript": "2.13.4"
  </code></pre>
  
  <p>with no luck.</p>
  
  <p>As I understood I don't need a tsconfig.json at the root of my project since I am using <code>gulp-typescript</code> and I am passing already the compilerOptions in the gulp task itself, so I have deleted the tsconfig.json I had because it does not seem to be used.</p>
  
  <p>If I remove all the compilerOptions from my gulp task:</p>
  
  <pre><code>gulp.task('compile', function () {
      log('Compiling typescript into javascript');
      return gulp
              .src(config.allts)
              .pipe($.sourcemaps.init())
              .pipe($.typescript({
                  //removed
              }))
              .pipe($.sourcemaps.write('.'))
              .pipe(gulp.dest(config.compileFolder));
  });
  </code></pre>
  
  <p>I get more semantic errors also without description.</p>
  
  <pre><code>[10:12:57] Compiling typescript into javascript
  [10:13:00] TypeScript: 184 semantic errors
  [10:13:00] TypeScript: emit succeeded (with errors)
  [10:13:01] Finished 'compile' after 3.83 s
  Process terminated with code 0.
  </code></pre>
  
  <p>so the options are definitely being used.</p>
  
  <p>And if in my CMD I go to the folder where I have a typescript and try to compile it with:</p>
  
  <pre><code>C:/&gt;Sample/app&gt; tsc mytestfile.ts
  </code></pre>
  
  <p>I can properly see all the typescript compilation errors.</p>
  
  <p><strong>Any idea what might be wrong in my VS2015 or my gulp-typescript?</strong></p>
  
  <p><strong>UPDATE</strong>: I have tried with gulp-tsc instead gulp-typescript and it works well. <strong>So the problem must be with gulp-typescript</strong></p>
  
  <pre><code>gulp.task('compile', function () {
      log('Compiling typescript into javascript');
      return gulp
              .src(config.allts)
              .pipe($.sourcemaps.init())
              .pipe($.tsc({
                  noImplicitAny: true,
                  target: 'ES5'
              }))
              .pipe($.sourcemaps.write('.'))
              .pipe(gulp.dest(config.compileFolder));
  });
  </code></pre>