typescript - How to use Type Script 1.8 in Visual Studio 2017 for legacy project -
i have installed visual studio 2017 , tried run project in it. causing typescript error. think vs 2017 using typescript 2.1.5 application writted typescript 1.8.
how can make vs 17 use typescript 1.8. have vs 2015 , solution working fine on it. want use 2017(without making changes code)
the odd thing is: typescript version mentioned in .csproj
1.8
<typescripttoolsversion>1.8</typescripttoolsversion>
but if edit .csproj
typescripttoolsversion
else , 1.8, solution compiles properly. however, after consecutive compiles, typescript resurfaces.
i noticed compile errors disappeared when "force" downgrade of typescript applying nuget package microsoft.typescript.msbuild.1.8.11.
that way solution/project seems use package version instead of built in version.
Comments
Post a Comment