Exclude from Project (v8.0.1)

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

Moderator: SourceGear

Post Reply
iain.waddell
Posts: 45
Joined: Sun Mar 12, 2006 9:55 am

Exclude from Project (v8.0.1)

Post by iain.waddell » Thu Mar 26, 2015 3:51 pm

I'm using Visual Studio 2013 (Update 4) and Vault standard (v8.0.1).

When I use "Exclude from Project" the file is scheduled for deletion from Vault. This never used to happen. Previously the file would be removed from the project file but the source file being excluded would be left unchanged.

Do you know if this change down to Visual Studio or Vault?

Iain

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Exclude from Project (v8.0.1)

Post by Beth » Thu Mar 26, 2015 4:18 pm

Are you using the Vault Classic Client or the Vault Enhanced Client? You can find that out by going to Tools - Options - Source Control - plugin, while the project is open.

In the Enhanced Client, a Window pops up where you can choose to delete the files from source control at the same time or you can choose to leave them. If you didn't see that window, then you may have checked the option "Do not show this message in the future." If that's the case, then it will automatically delete.
Beth Kieler
SourceGear Technical Support

iain.waddell
Posts: 45
Joined: Sun Mar 12, 2006 9:55 am

Re: Exclude from Project (v8.0.1)

Post by iain.waddell » Thu Mar 26, 2015 5:32 pm

I'm using the enhanced client. I wasn't seeing the popup window but I am now. The popup window is very annoying.

Is there a way to configure it so that exclude from project never deletes a file?

If I wanted to delete the file surely I'd choose to delete the file, not exclude it from the project?

Iain

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Exclude from Project (v8.0.1)

Post by Beth » Fri Mar 27, 2015 1:19 pm

I don't have a way around the dialog right now, but I'll get this logged for the developers.

F: 18095
Beth Kieler
SourceGear Technical Support

iain.waddell
Posts: 45
Joined: Sun Mar 12, 2006 9:55 am

Re: Exclude from Project (v8.0.1)

Post by iain.waddell » Fri Mar 04, 2016 4:48 am

Any news on this? It's still very irritating.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Exclude from Project (v8.0.1)

Post by Beth » Fri Mar 04, 2016 4:02 pm

Currently we're still relying on a pop-up window for a user to choose the option. What we found is that the Visual Studio API called the same exact code for Delete as it does for Exclude and the dialog box was our solution. We haven't found a way around that yet.
Beth Kieler
SourceGear Technical Support

iain.waddell
Posts: 45
Joined: Sun Mar 12, 2006 9:55 am

Re: Exclude from Project (v8.0.1)

Post by iain.waddell » Fri Mar 04, 2016 4:09 pm

What I don't understand is why it only started when we upgraded to v8.0.1

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Exclude from Project (v8.0.1)

Post by Beth » Fri Mar 04, 2016 5:01 pm

What version were you on before?

Did your VS version change at all as well.
Beth Kieler
SourceGear Technical Support

iain.waddell
Posts: 45
Joined: Sun Mar 12, 2006 9:55 am

Re: Exclude from Project (v8.0.1)

Post by iain.waddell » Sun Mar 06, 2016 4:17 am

I think we might have changed to VS2013 about the same time. I've just gone back and checked VS2008 and I don't get a warning when excluding a file there.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Exclude from Project (v8.0.1)

Post by Beth » Mon Mar 07, 2016 5:05 pm

I tested against Vault 8 and received the same dialog. Next is to test against VS 2008.
Beth Kieler
SourceGear Technical Support

andyr
Posts: 2
Joined: Thu Sep 18, 2014 10:43 am

Re: Exclude from Project (v8.0.1)

Post by andyr » Wed Dec 21, 2016 9:33 am

I am using Vault Standard 7.1.0 in Visual Studio. The Exclude From Project dialog does not have a cancel button. Can the developers add one?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Exclude from Project (v8.0.1)

Post by Beth » Wed Dec 21, 2016 2:15 pm

I think the Exclude from Project might be VS, because Vault doesn't manage the project. Exclude from Source Control shouldn't be ours. This post will tell you how to get an item back that you excluded: http://stackoverflow.com/questions/1352 ... om-project.
Beth Kieler
SourceGear Technical Support

andyr
Posts: 2
Joined: Thu Sep 18, 2014 10:43 am

Re: Exclude from Project (v8.0.1)

Post by andyr » Wed Dec 21, 2016 2:32 pm

Thanks. I think it would be nice to have a cancel button, so you did not need to re-include these files. This would be very nice to have when you selected a lot of files, but decide you don't want to exclude some.

Post Reply