VSS: How do I recover from "File <foo> has been destroyed, and cannot be rebuilt."?

Posted by Eniac on Stack Overflow See other posts from Stack Overflow or by Eniac
Published on 2009-09-15T11:32:03Z Indexed on 2010/05/23 3:40 UTC
Read the original article Hit count: 294

Filed under:

We're running Visual SourceSafe 6.0 (build 8163).

In one project, there's an old label I want to do a Get on, but a few files have been added and destroyed since that label was created.

Now everytime I try to do a Get on the label - for each destroyed file - I get the warning "File has been destroyed and cannot be rebuilt, do you want to continue?", (which seems completely stupid, since the destroyed files never existed before the label was set).

I've tried adding files with the same name, but that didn't help. I also tried deleting (not destroying) those added files, but that didn't help either.

I really want to be rid of the warning, since the home-cooked building app we use to build all the projects doesn't handle this error/warning, and hence can't Get the label requested and build that project.

Help!

(and no, running VSS is not by choice, trust me, I was hoping never to see it again after the first time I was forced to use it, which was ten years ago)

© Stack Overflow or respective owner

Related posts about visual-sourcesafe