location of tasks.vs.json ignored by vs recommended .gitignore

120 Views Asked by At

In every .gitignore template for Visual studio (e.g. Here)
the .vs cache directory is marked as to ignore.

but when i create a Task (right click on solution explorer >> Configure tasks), it create a file named tasks.vs.json inside the .vs folder!

I noticed I can move the file out of that directory and have the tasks available, but still 'Configure Tasks' will create a new file inside .vs!

I know I can "un-ignore" specific files in GitIgnore, thats an option, but I seek a cleaner way.

So my questions are:

  1. Can I tell VS that my Task.vs.json belong outside .vs folder?
  2. Did MS intend the Tasks to be user specific ? (unlikely)
0

There are 0 best solutions below