How to add file directly from source control?

How to add file directly from source control?

Post by Andrew McD » Sat, 21 Oct 2006 08:28:56


Reposted from microsoft.public.vc.ide_general.

I could have sworn that one of the new features of VS2005 was the ability to
add new items to a project directly from source control, thus avoiding the
timewasting checkout that occurs if you add the file from disk (even if it's
identical to the latest source control revision).

However I can't find the option in the Add New Item dialogue. Am I missing
something obvious, or is this only available when the plugin is SourceSafe?
We're using Perforce.
 
 
 

1. How to add file directly from source control?

2. Source Control - what files should/shouldn't be stored in source control

I am currently using StarTeam for my source control. (Will eventual
switch to whatever the latest Visual Source Safe is going to be
called).

With debug, installers, deploy and everything the project directory
structure is a mess of files and directories

What files should be in source control (All final builds willbe done on
anothe machine)?

I read that PDB and SUO files should not be checked it.

My typical structure is:

Main project dir -
common
data (test data not to be source controlled)
project
Setup
Debug
Release
Frm (GUI)
Bin
Debug
Obj
Debug
Refactor
TempPE
Properties
Svc (Service)
Bin
Debug
Obj
Debug
Refactor
TempPE
Properties

What directories/file extensions should be in source control and which
ones will be rebuilt? My build machine probably will not have the exact
some file paths.

-Markus_R

3. Adding a web application project to source control (Visual Source Safe)

4. this.Controls.Add(Control) Does Not Add Control to child collection (this.Controls.Count == 0)

5. Dynamically adding custom controls to page source file

6. What does 'file was dropped from the Add to Source Control Operation" message mean

7. Can't add files to source control that aren't in same location

8. Dynamically adding controls to page SOURCE file

9. Adding many directories/files to source control on a specific branch in clearcase ...

10. Cannot add a new file in Source control

11. Can't add files to source control that aren't in same location as

12. How to add user directly to Active Directort Directly.

13. add user control directly to form

14. How to compile a C source file without using the C compiler directly