Hello,
I am using Visual Studio 2005 and Vault version 3.5.0.
I need each developer to have his own web.config file. How to I exclude this file from source control? I have done some searching and know I did it before with VS 2003 by selecting the file, Going File>Source Control>Exclude (filename) from source control. But can not figure it out in VS 2005.
Thanks a lot!
Exclude file from Source Control
Moderator: SourceGear
Hmm...
If you only deleted it from the repository, using the GUI client, a Get Latest cannot remove it. Are you sure you used the GUI client and not Visual Studio?
In any event, we can get the deleted file back, but I need to know the steps you used to remove the file from the repository in order to tell you how to retrieve it.
If you only deleted it from the repository, using the GUI client, a Get Latest cannot remove it. Are you sure you used the GUI client and not Visual Studio?
In any event, we can get the deleted file back, but I need to know the steps you used to remove the file from the repository in order to tell you how to retrieve it.
Actually, I stand corrected. The behavior you described is accurate.
What you need to do :
What you need to do :
- Go to your Vault Project (where you deleted the file from) and right-click.
- Select Properties... (at the very bottom of the right-click context menu)
- Select the Deleted Items tab
- Select the file you deleted and press the Undelete button
- Do a "Get Latest" to put the file back on disk
- On your local disk, make a copy of the file
- Go back to Vault Project and delete the file again
- Do another "Get Latest." This will remove the file from disk again
- Take your copy and manually put it back where it goes on disk
Okay, I will try to do that when I get back to the office.
I did install the SP1 Visual Studio service pack because I read that it would include an update to the Source Control menu that would add 'remove from source control' functionality. 3 hours later, after the download and install (which took a hotfix/reboot), that was not the case.
I will post a new topic to ask about this new problem. Thanks for your help.
I did install the SP1 Visual Studio service pack because I read that it would include an update to the Source Control menu that would add 'remove from source control' functionality. 3 hours later, after the download and install (which took a hotfix/reboot), that was not the case.
I will post a new topic to ask about this new problem. Thanks for your help.