2017-01-26 16 views
0

「Visual Studio 2015 QUICKSTART」のdocumentationに記載されているすべての手順に従いました。また、「Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2」もインストールしました。この文書では言及されていない。私はプロジェクトをビルドするとき、私は今のVisual Studioコミュニティ2015ビジュアルスタジオでAngular 2アプリケーションをコンパイルするときにエラーが発生する2015

を使用しています、それはエラーの下に表示さ

Microsoft.TypeScript.targets 『ファイルファイルに』コード1" で終了しました「tsc.exe」。

そして "Microsoft.TypeScript.targets" は、それをファイルに は

要素http://schemas.microsoft.com/developer/msbuild/2003「namepaceの 'ターゲットは' 'invaidた子要素を表示します3210 'VsTsc'

以下は私のtsconfig.jsonファイルの内容です。

{ 
    "compilerOptions": { 
    "target": "es5", 
    "module": "commonjs", 
    "moduleResolution": "node", 
    "sourceMap": true, 
    "emitDecoratorMetadata": true, 
    "experimentalDecorators": true, 
    "lib": [ "es2015", "dom" ], 
    "noImplicitAny": true, 
    "suppressImplicitAnyIndexErrors": true 
    } 
} 

このエラーの原因は何でしょうか。

答えて

0

「TypeScript 2 for Visual Studio 2015」をインストールするのではなく、「TypeScript 1.8.4 for Visual Studio 2015」をインストールしたのではなく、誤ったバージョンのtypescriptをインストールしました。

関連する問題