I have a database project in my .net solution. Whenever I am building/rebuilding the solution '.sqlprojAssemblyReference.cache' file is generated in database project's obj/Debug folder.
I have in my git ignore obj directories and cache files ignored but still it is not working as expected.
# Build results
[Dd]ebug/
[Oo]bj/
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
I am expecting this file not to appear in my changes as I added this in .gitignore as similar to packages folder for which I added a format earlier in .gitignore. In both the cases I had not made any commit.