For the last few months, Visual Studio shows a yellow message above the editor tabs when I open a TypeScript file:
"The TypeScript SDK has been deprecated. To enable TypeScript compilation, upgrade your project to use the 'Microsoft.TypeScript.MSBuild' NuGet package."
This is interesting for a few reasons:
TypeScript compilation works just fine currently, so adding the NuGet package won't "enable TypeScript compilation" any better than the built-in TypeScript compiler.
Visual Studio 17.3 Preview's release notes say, "The TypeScript 4.7 language service and compiler are included in Visual Studio."
I have installed the NuGet package, and the only difference I can see is the removal of the yellow deprecation message.
These are my questions:
What is the TypeScript compiler (which is built into Visual Studio) versus the TypeScript SDK (which is also built into Visual Studio but is deprecated)?
Why does Visual Studio want me to use this NuGet package? What specific features will it give me (besides getting rid of the yellow message)? Like I said, my current configuration already compiles my TypeScript files, and Microsoft continues to update the built-in TypeScript compiler. What's the point of a NuGet package?