Visual Studio 2015 Add Class, Error: "object already exists"
Yeah, also saw that.
I think I have created a C++ class, decided I don’t like it, reverted changes using github app. But the name was good, so I tried creating same class again. Saw the exact same error as you’re having.
The name polluted the sqlite database. And because I had that VC.db in my .gitignore, git hasn't reverted that.
To fix, quit visual studio, delete the file $(SolutionName).VC.db in your $(SolutionDir) folder, restart visual studio, clean and rebuild your project[s].