locked
Visual Studio 2015 -- trying to get Typescript 2.7.2 package to be used! Where are the VC++ Directories? RRS feed

  • Question

  • User-18919477 posted

    Hello,

    • 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.

    Please help!

    Thanks.  John

    Saturday, February 17, 2018 9:14 PM

All replies

  • User283571144 posted

    Hi JohnK44,

    • 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.

    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

    Monday, February 19, 2018 7:39 AM
  • User1813949509 posted

    Thanks for the help

    Tuesday, June 5, 2018 7:29 AM