2

I have a problem in visual studio, everytime i create a new repo and try to commit a bunch of files apears: .vsidx, .cahce, .props etc. I have never come across anything like this before and my question is how to get rid of these files and also why are they appearing? For your info i have Visual studio community 2022 17.3.4

1 Answers1

2

These files are generated in different scenarios and sometimes you can't really restrict Visual Studio from creating them:

.vsidx

generated by enabling indexing for faster find. You can disable them if you want: How to disable that new "FileContentIndex" folder (and .vsidx files) in VS 2022 17.2.0?

.cache

visual studio temporary files. You cannot really avoid visual studio creating these if it really needs them. That's why they're a default add to .gitignore.

.props and .target files

may be included when you reference NuGet packages that contain these files. You may add them to .gitignore

Cristian Rusanu
  • 452
  • 5
  • 15
  • 1
    Thanks for the answer Cristian! Good explaining but i forgot to add in my question that I've done some reasearch including the link you posted and it haven't been to any help unfortunatley... – Oskar Virdarson Sep 20 '22 at 14:32