It works fine now without having done anything. I guess something might have been caught in Cache inside VS or my computer. I tried to pull the repo after having opened VS for 5 days and it actually works now