I can't talk to the above NoGit Extension to disable the git extension, but I heard good things about it. However, this is a workaround for your problem, not an actual solution.
Visual Studio connects a file system listener in the working directory of the git repository to determine the changes: for example, when switching branches, we change the branch selection in Team Explorer. Similarly, when editing a file, we decorate this file as modified in Solution Explorer and in Team Explorer.
This is usually not an expensive check, however, if you have a lot of file system crashes (e.g. build!) In places that should be, but not in your .gitignore (e.g. for build!), Then this is stupid insanely expensive.
Please check three times that your .gitignore file .gitignore configured to properly ignore assembly output. Make sure that when this happens, git status does not report assembly output or auto-generated files.
If you think that it is configured correctly, consult me ββby e-mail and we can try to determine if there is an error in the ignore comparison logic.
source share