Getting the below error on build Asp.NetCore project in Visual Studio Enterprise 2017 Version 15.6.0. The error goes sometimes if I restart visual studio. But I haven't got any proper solution.
Error MSB4064 The "ComputeOutputOnly" parameter is not supported by the "VsTsc" task. Verify the parameter exists on the task, and it is a settable public instance property. MyProject.Web.Public C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.5\build\Microsoft.TypeScript.targets 207 Error MSB4063 The "VsTsc" task could not be initialized with its input parameters. MyProject.Web.Public C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.5\build\Microsoft.TypeScript.targets 196
There is a workaround for this issue since it is a known issue as mentioned above
It applies to typescript version 2.6 as well.
Should work Like a charm.
This problem seems to be resolved in Visual Studio 2017 v15.6.7 -- for me, this build error went away after upgrading.
I got the same error on build/clean when running multiple instances of Visual Studio 15.9.3
. Solved when closing all instances and just opened Visual Studio again.
The "ComputeOutputOnly" parameter is not supported by the "VsTsc" task. Verify the parameter exists on the task, and it is a settable public instance property
The "VsTsc" task could not be initialized with its input parameters.
However after starting and building a few times the following error occurred:
The "TypeScript.Tasks.GenerateOutputLogs" task could not be loaded from the assembly C:\Users\User\Documents\Projects\Project\packages\Microsoft.TypeScript.MSBuild.2.7.2\build\..\tools\net45\TypeScript.Tasks.dll. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
Tried to solve it by upgrading to Visual Studio 15.9.6
. This worked for a while but then the errors came back.
Finally solved by running Visual Studio as Administrator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With