Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 15 Compilation Fails- clean project

Tags:

I am using Visual Studio 15 Preview 3

When I create a new project (ASP.Net 5 "Empty" project) and press build all it fails to build. I get the following errors.

Severity    Code    Description Project File    Line    Suppression State Error   MSB4063 The "VsTsc" task could not be initialized with its input parameters.    WebApplication3 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\TypeScript\Microsoft.TypeScript.targets 247  Error   MSB4064 The "OutputLogFile" parameter is not supported by the "VsTsc" task. Verify the parameter exists on the task, and it is a settable public instance property. WebApplication3 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\TypeScript\Microsoft.TypeScript.targets 261  

Any suggestions please. I have added no code, just created the project and pressed build.

like image 676
Hughgo Avatar asked Jul 22 '16 09:07

Hughgo


2 Answers

If you check out the Output window contents after the build has failed, it should show the targets file path like this one:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets 

Go ahead and remove the OutputLogFile attribute from the VsTsc element. This should make the build go through.

like image 59
Tomáš Hübelbauer Avatar answered Oct 05 '22 02:10

Tomáš Hübelbauer


Downgrading "Microsoft.TypeScript.MSBuild" from version 2.0.6 to 1.8.11 removed the Compilation Errors.

like image 36
Ishan Adarsh Avatar answered Oct 05 '22 03:10

Ishan Adarsh