I'm trying to run this ASP.NET project in VS 2019. We used to run it in VS 2015 but VS 2015 is not an option anymore as we are going to get licenses for VS 2019 only.
Look at this weird error:
As you can see, in my project properties, TypeScript version 2.0 (2.0.6 specifically) is chosen from the NuGet package. But then, I get the warning that you can see down there, that VS is still using TypeScript 4.1. The result of these is a bunch of errors in my TypeScript files when I build the application. Also, in the Output window, it says that TypeScript 4.1 intellisense is been used.
I tried installing Typescript 2.0.6 globally via NPM as suggested here. Also, I tried to do what's suggested in yet another thread, here, but there no Typescript 2.0.6 SDK for VS 2017 in the link provided. I have, however, downloaded Typecript 2.0.6 for VS 2015, and I have it in my list of Typescript SDK in Program Files, but it wont get picked up by Visual Studio.
So, how in the world I get Visual Studio 2019 to work with TypeScript 2.0, including intellisense? How do I make it to recognize the right TypeScript version?
Thank you!