문제

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?

도움이 되었습니까?

해결책

Try editting your ignore file to include the following instead :

[Bb]in/
[Dd]ebug*/
obj/
[Rr]elease*/

Sometimes the capitalization can change (I can't remember exactly what causes it..)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top