Visual Studio 2010, VisualHg, keeps adding bin, obj folders
===

Everything was working fine for 3 months, now suddenly when I open Visual Studio, it adds all untracked files in the root solution folder to Hg, i.e. bin and obj folders included.

Steps:

1. Close VS2010
2. Use Tortoise Hg workbench to forget files added by VS2010 when it opened
3. Open VS2010, all the files start being added back into Hg, it appears to happen when the "Preparing solution" dialog appears

I edited the .hgignore file in the root folder to include "bin" and "obj", but that is being ignored by VS.

Any ideas why this is happening?