I am using Visual Studio 2015 for an MVC project, decided to upgrade my Bootstrap from 3.0 to 4.0 ... which brought in Popper, which is requiring Typescript 2.2+ due to some new type references in the index.d.ts file.
I don't have administrative privilege on this server so I cannot install the newer version of Typescript (currently has 1.8 installed) onto the system.
But there is Microsoft.Typescript.Compiler v2.7.2 was available as a NuGet package, so I installed it, and can see the new typescript compiler executable ... but it's not being picked up.
I then looked around online to find out how I get the compiler to be used, and the suggestion was to add an executable directory path in the "VC++ Directories" panel.
However this panel has been deprecated from the Visual Studio IDE, and the vague references to find the "user properties" file have proven futile.
Maybe I am missing something simple, but I have not been able to find enough info to get me through this.
Bottom line -- I would like to get Bootstrap 4.0 working for my VS project, and get past these type definition errors in the index.d.ts file which are indicative of needing the newer version of Typescript.
I then looked around online to find out how I get the compiler to be used, and the suggestion was to add an executable directory path in the "VC++ Directories" panel.
However this panel has been deprecated from the Visual Studio IDE, and the vague references to find the "user properties" file have proven futile.
As far as I know, the "VC++ Directories" is used for C++ projects.
You could create a C++ projects, then locate the c++ project's property and you will find the VC++ Directories.
I suggest you could try to ask the administrator to install the newest typescript version.
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
None
0 Points
11 Posts
Visual Studio 2015 -- trying to get Typescript 2.7.2 package to be used! Where are the VC++ Dire...
Feb 17, 2018 09:14 PM|JohnK44|LINK
Hello,
Bottom line -- I would like to get Bootstrap 4.0 working for my VS project, and get past these type definition errors in the index.d.ts file which are indicative of needing the newer version of Typescript.
Please help!
Thanks. John
Star
9831 Points
3120 Posts
Re: Visual Studio 2015 -- trying to get Typescript 2.7.2 package to be used! Where are the VC++...
Feb 19, 2018 07:39 AM|Brando ZWZ|LINK
Hi JohnK44,
As far as I know, the "VC++ Directories" is used for C++ projects.
You could create a C++ projects, then locate the c++ project's property and you will find the VC++ Directories.
Details, you could refer to below article.
https://msdn.microsoft.com/en-us/library/ee855621(v=vs.140).aspx
I suggest you could try to ask the administrator to install the newest typescript version.
Best Regards,
Brando
None
0 Points
6 Posts
Re: Visual Studio 2015 -- trying to get Typescript 2.7.2 package to be used! Where are the VC++...
Jun 05, 2018 07:29 AM|nguyenhuyen020589|LINK
Thanks for the help