My goal is to setup EA model packages that are:
* linked with VS.Net projects, and
* under source control in Source Safe
The following are procedures I have used to achieve my needs. However, I feel that these procedures are strange and not intuitive. Please advise if they are correct.
_____________________________________________________________
First, on a new project and a new package, I did a reverse engineering of a VS.Net project using:
Add-in --> Connect External Project --> Visual Studio.
Then, I set the package representing the project under source control:
Package Control --> Configure
The project view structure is:
Logical View
|-New Model (namespace root)
|-FaxLibrary (linked to VS.Net *and* under source control)
|-BusSysApp (namespace in C#)
Once this package is under source control, my guess is that any user, using any EA file, could retrieve this package from SourceSafe, correct? (Since everyone's Local Project Path in Version Control Configurations would be different *and* Local Project Path is not affected by Configuration --> Local Paths.)
_____________________________________________________________
To test out getting the package, I created a *new* EA file and setup the empty package to link to VS.Net. The structure is now:
Logical View
|-New Model (namespace root)
|-FaxLibrary (linked to VS.Net project but empty)
I then do:
FaxLibrary --> Package Control --> Get Package --> whatever's available.
And I get: "An unknown error was returned by the source control provider".
_____________________________________________________________
Then, I tried:
FaxLibrary --> Package Control --> Configure
putting in the same details as when I setup source control. Followed by:
FaxLibrary --> Package Control --> Get Latest
The Project View refreshes, and I now have the source-controlled package, *but* with an extra package:
The project view structure is now:
Logical View
|-New Model (namespace root)
|-FaxLibrary (linked to VS.Net)
|-FaxLibrary (package controlled)
|-BusSysApp (namespace in C#)
_____________________________________________________________
The only way I could get the structure I started with is:
New Model --> Package Control --> Configure
Fill in the details for package FaxLibrary. Then:
New Model--> Package Control --> Get Latest
The project view refreshes and becomes:
Logical View
|-New Model (namespace root and under source control)
|-FaxLibrary (under source control)
|-BusSysApp (namespace in C#)
Then, I FaxLibrary to VS.Net:
FaxLibrary --> Add-in --> Connect External Project --> Visual Studio.
To tidy up, I then need to do:
New Model --> Package Control --> Configure --> Untick the checkbox.
Since I need an empty package and place source control upon it before I can retrieve an existing source controlled package:
* Why is the retrieved source controlled package placed as a child package of the empty package?
* What is the procedure for retrieving a source-controlled package from SourceSafe in a team environment, where everyone's local project path is different? Configuration --> Local Paths do not apply to the local project paths.
* How is Package Control --> Get Package designed to work? Do I execute this on an empty parent package, or on an empty package representing where the class entities should sit?