Unable to add project including linked items

If you are having a problem using Vault, post a message here.
Post Reply
oliverjl
Posts: 3
Joined: Sun Dec 02, 2012 11:24 am

Unable to add project including linked items

Post by oliverjl » Sun Dec 02, 2012 12:12 pm

Hello Progress,

unfortunately we have a problem when trying to add our solution to SourceGear Vault 5.(?) as there is one project which can not be added when trying to add via Visual Studio 10 plugin. Instead, a messagebox comes up, telling:

"A project Proj.Entities.csproj you are trying to add contains items which are in the same folders as projects that are already under source control. Because the source controlled projects do not share the same source control binding, they cannot be added to source control. To resolve this issue move this project`t items into their own folders, or place all overlapping projects into the same source control binding."

The special thing about the project causing trouble is, that it includes a t4 template (DataModel.tt) which resides in an other project (Proj.DataAccess) of the solution.
So the solution structure looks like this:

SOLUTION
+
|
+--Proj.Entities
| +
| |
| +-link to DataModel.tt (located in Proj.DataAccess)
|
+--Proj.DataAccess
| +
| |
| +-DataModel.tt
|
...

Could you please give me an advise how to add this project?

Thank you &
Best regards,
Oliver

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

Re: Unable to add project including linked items

Post by lbauer » Mon Dec 03, 2012 2:08 pm

It sounds like part of the solution is alreay under source control. What if you unbind the solution, the add the new project to the repository with the Vault GUI Client, the rebind the solution and projects.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply