We have a service written in one of our Team Projects.
It's in "Project A". This service was modified to work not only for "Project A", but also for "Project B" which of course, is another Team Project.
Now, if a dev sees it running, it will be with a name that would make them look in Team Project B... but of course, the code isn't there, and they likely wouldn't know to go look for it in Team Project A.
Is there a way to add a shortcut or link to TFS from a folder in Team Project B to a location in Team Project A?
To add a file as a link, right click and choose Add > Existing Item… as before, but this time, don't click the Add button. Instead, click the little dropdown arrow next to the Add button and select Add as Link. Instead of copying the file into the project directory, Visual Studio will create a link to the original.
To link files, use the "Add Existing Item" dialog. One way of getting to this is to right-click on the project and choose "Add", then "Existing Item...". When the dialog opens, locate the file you want to link to. Then DO NOT CLICK THE "Add" BUTTON.
Just right click on the folder in TFS, and select Rename. Once you commit the rename, TFS will make the changes on disk for you.
I would like if this were a feature but TFS doesn't support sharing like VSS did. http://blogs.msdn.com/buckh/archive/2004/06/10/152609.aspx
I think the suggested solution is to branch the code and when changes are made alert the other team so they can merge the changes into their solution. That way one project's changes don't have to wait for the other project to say ok.
On the other hand if they're both referencing the same deploied dll or web service this wouldn't work very well. If that's the case the only thing I can think of is to put a note in the folder for one of the projects saying go look at the other one where it is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With