Groups | Blog | Home
all groups > visual studio .net enterprise tools > september 2007 >

visual studio .net enterprise tools : TFS Source Control, Reporting Services Project, how do multiple us


LehrSJ
9/22/2007 8:12:01 AM
I am using TFS for source control. In Visual Studio I can setup a Reporting
Services project and add it to source control. If my project is called
Reports I can see the source control files Reports.rptproj,
Reorts.rptproj.vspscc, Reports.sln, and Reports.vssscc are added to the TFS
folders. I can add report .RDL files, datasources and easily check them in
and out. But what I don't understand is how does another user also setup a
Report project that points to this same location so he can also work on the
same reports and check them in and out?

If someone else now goes into Visual studio and creates a new Reporting
Services project called reports and tries to point it to the same place in
TFS, an error message is displayed that the item Reports.sln is already under
source control and to use a different folder for the project. But if a
different folder is selected, then this project is not going to see the
reports under the Reports project.

I am confused. How does more than one person set up a project and use
source control and have it point to the same project in TFS source control?
--
Stevanich
9/23/2007 2:48:30 AM
LehrSJ,

Someone new needs to go into Visual Studio and select File >> 'Open from
Source Control' to open the project.

As far as project locations go, each developer should be checking out files
to their own local workspace.

Hope this helps,


Steve - dotneticated.com

[quoted text, click to view]

LehrSJ
9/24/2007 5:30:01 AM
Thanks but this still doesn't work as I expect it would. As another example,
say there is an ASP.net web site that has been added to TFS source control.
I need to work on this web site. I go into Source control, setup my local
workspace, and get the latest version of the files. The files download to my
local workstation.

From Visual Studio I can then select File, Open, Web site and point to my
local downloaded files. I can then run from my local files. However to
check out any of these web files I have to go to the Source Control Explorer
screen to check out a file. I can't check out a file from Solution Explorer.
In order to do this I have to "add web site to source control" from solution
explorer. (right click on web site root, and this is an option.) But if I
try to "add" the web site to source contol, it tells me the files are already
in source control and that I would need to put them in a different directory.
But if I put the files in a different directory on source control, we then
have two copies of the web instead of one.

That's what doesn't make sense. If I create a new web and add it to source
control it works fine. I can check files in and out from Solution explorer.
It is integrated. But then if someone else then needs to work on this web
they can create a local workspace and download the files. But they have to
use Source Control Explorer to check files in and out. They can't do this
directly from Solution Explorer.
--
LehrSJ


[quoted text, click to view]
LehrSJ
9/24/2007 10:48:02 AM
OK I figured it out. I needed to do a File, Source Control, Change Source
Control.
--
LehrSJ


[quoted text, click to view]
v-wywang NO[at]SPAM online.microsoft.com
9/25/2007 12:00:00 AM
Hello LehrSJ,

In general, the project binds to TFS Source Control automatically when we
double-click the .sln file in Source Control Explorer. But, we still can
bind/unbind Source Control by "File/Source Control/Change Source Control"
menu. This way also works with Visual Source Safe 2005.

It seems you have resolved the issue by yourself so far. Please feel free
to update here again if you face any further issue. We are glad to assist
you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button