Broken MS C++ Build Tools 2022

Mel_So 6 Reputation points
2022-06-14T03:44:03.48+00:00

Hi,

I have installed Microsoft C++ Build Tools 2022 to help me compile C files created by Cython. When launching it, it gives me this error:
[ERROR:team_explorer.bat] Directory not found : "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer"

I have checked and this file does not exist. I have tried repairing the installation but no luck.

Is team foundation a standalone application? or an add-on that I need to install from VS Installer? Please help as I am not well-rounded with Visual Studio and just need to get my code running.

Thanks

Developer technologies | C++
Developer technologies | Visual Studio | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Mel_So 6 Reputation points
    2022-06-14T10:46:43.86+00:00

    Hi @Anna Xiu-MSFT ,

    Thanks for your reply. The TeamFoundation\Team Explorer folder is not present in my installed Visual Build Tools, it is entirely missing, so adding it to the path will not make any difference. The installation is not complete. I tried on two different windows machines and I had the same issue. The Team Explorer is essential for visual build tools to run, but is missing.

    Why is the installation incomplete? Can you help?

    Thanks,

    1 person found this answer helpful.
    0 comments No comments

  2. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-06-14T08:53:37.647+00:00

    Hi @Mel_So ,

    Welcome to Microsoft Q&A!

    Please check if you have %VSINSTALLDIR% or %DevEnvDir% environment variable.

    If you find the VSINSTALLDIR environment variable, please ensure that it is set to current VS version:
    C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\

    Or try to manually add the following path to DevEnvDir variable:
    C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\
    C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Ravi Swami 1 Reputation point
    2022-06-17T19:09:27.423+00:00

    HI

    As Melso-8504 points out, my installation also has missing directory TeamFoundation and the Team Explorer directories .... is there a fix for this Installtion ?
    thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.