I'm using Visual Studio 2017 Professional. When I build, I am getting a lot of TypeScript-related errors even though I don't have any typescript in my solution. The main one is:
The target "TypeScriptClean" does not exist in the project.
However, there are no references to anything called "TypeScriptClean" - or typescript at all - in my solution.
I also get:
The target "CompileTypeScriptWithTSConfig" does not exist in the project.
Both these errors are occurring in the file Microsoft.Common.CurrentVersion.targets.
Anyone know what is going on here? I basically can't build anything in Visual Studio.
I added this to my .jsproj file and it worked. at least it gets past this issue and my project builds again. It's just an empty target, since I do not use typescript.
<Target Name="TypeScriptClean">
</Target>
I do not see where the typescript version is located for my older cordova project.
in visual studio 2017
changing the typescript version to Use latest available
on the project properties fixed the issue
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