Deleteing or removing file in VS does not remove from vault

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
jmfan1981
Posts: 4
Joined: Tue Sep 28, 2010 8:07 am

Deleteing or removing file in VS does not remove from vault

Post by jmfan1981 » Tue Sep 28, 2010 8:31 am

In the 5.0.3 release, there was an enhancement that says it no longer removes files from the disk when deleting a file in VS. I'm not so sure that's an enhancement.

When i delete a file in VS, i'm given 2 options: "Remove" or "Delete". No matter which i choose, the file is removed from the project, and as an option, i can have it removed locally. The problem is when i get latest version using the vault client. It will simply redownload that deleted file, resulting in clutter on my harddrive. So right now its a 2 step process for me. I have to delete the file in VS to remove it from the project, and then go in vault and delete the file from that as well. This should not have to be a 2 step process. I am hoping that i'm simply doing something wrong.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Deleteing or removing file in VS does not remove from vault

Post by lbauer » Tue Sep 28, 2010 10:40 am

What version of Visual Studio are you using? Are you using the Enhanced or Classic Client for integration?
What type of project is this?
Linda Bauer
SourceGear
Technical Support Manager

jmfan1981
Posts: 4
Joined: Tue Sep 28, 2010 8:07 am

Re: Deleteing or removing file in VS does not remove from vault

Post by jmfan1981 » Wed Sep 29, 2010 9:34 am

running visual studio 2008, using the integrated enhanced client, its a c# web project

jmfan1981
Posts: 4
Joined: Tue Sep 28, 2010 8:07 am

Re: Deleteing or removing file in VS does not remove from vault

Post by jmfan1981 » Wed Sep 29, 2010 9:37 am

to be more specific, in the web solution, there is a project that stores our database procdure scripts,etc.. so theres a .DPB file for that project.

jmfan1981
Posts: 4
Joined: Tue Sep 28, 2010 8:07 am

Re: Deleteing or removing file in VS does not remove from vault

Post by jmfan1981 » Wed Sep 29, 2010 9:48 am

sorry one more thing to note!

it appears to work fine in a WEB project. in this DBP project, when i right click to delete, i get the "Delete", "Remove" dialog that i do not get when i delete a file in a web project..

so i guess DBP projects require the 2 step process?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Deleteing or removing file in VS does not remove from vault

Post by lbauer » Fri Oct 01, 2010 3:27 pm

I was able to reproduce this behavior.

The file in the .dbp project is deleted from the project and working folder, but not from the repository.

I've logged bug 15352 and we hope to address it in an upcoming release of Vault.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply