In Team Foundation Server, How does one fork a project? - visual-studio-2010

My question in self explanatory. Is it possible to fork a project in team foundation server, and how would I go about forking a project in TFS if it is possible?

I believe you mean tfs's "branch" when you say "fork". You can do it either from visual studio or from command line. In VS, in source control explorer select folder and from context menu choose "branch".

Related

Opening Visual Studio solution with different files open

I have a solution with both a client project and a server project (and a shared common project).
When I open the solution I usually run mysolution.sln from the command line. It then opens the solution with the files I had open the last time a closed Visual Studio.
Now, I like to have the solution open twice: one with focus on the server project and one with focus on client project. I think you can guess my question now :)
Is there a way I can save "this configuration of open files" and then have one for server and one for client?
I'm using VS2022 with Resharper, if that makes any difference.

Deleting Visual Studio Team Services team project not behaving as expected

I have deleted several team projects from Team Services using the Collection Administration Page like this:
However, the deleted projects still show up in Source Control Explorer in Visual Studio:
....I expect Source Control Explorer to be a reflection of Team Services. What am I missing?
Looking at that screenshot you just need to refresh your workspace. there are a lot of pending adds and the Services project is greyed out meaning that is not mapped.
If you refresh the source tree does the project disappear?
You have to refresh the source control explorer and the server connection in the team explorer. VS will not realize changes in Team Services if you don't ask specifically for it (meaning that changes aren't pushed automatically to the clients).

Iterations always default to first project & can't select current project

I'm using the Team Foundation Service (TFS in the cloud) for source control. Within my account I have multiple projects. Via the website I can see that the first project has the default Release & Sprint hierarchy set. I have another project that I've created some releases & sprints. In the web admin I've also setup different areas for my project.
Within Visual Studio 2012, when I go to create a task (TEAM > NEW TASK), it always shows the AREA=[FirstProject] and the ITERATION options as only the [FirstProject]. I can't change the area to a different area or the iteration. It acts like Visual Studio is "stuck" within the [FirstProject] and won't let me get to any of my other projects when working with tasks & backlog items. However I can create tasks in the web client. Within Visual Studio I can also run queries and find tasks.
So, I'm trying to figure out how to make sure I can use Visual Studio 2012 to create & manage tasks and not have to go to the website each time. It acts stuck on one project. Ideas?
Note I'm not having issues with any of the other source control issues... it's just an issue with working with tasks.
In the "Team Explorer" in Visual Studio 2012 you can select the Team Project you need by clicking on:
"Home | [FirstProject]", "Projects", and selecting a different one.
Also, in Visual Studio 2012.2 (Update 2) there is also a "Plug" looking icon at the top of Team Explorer, this allows access to many Servers, Collections and Team Projects from a panel in Team Explorer instead of a menu.

Connect to Team Server on launch of VS?

I deal with multiple Team Foundation Servers and collections. Is there a command line I can send to VS so I don't have to manually switch between the TFS servers every time I launch VS?
The way I do it is use the start page from Visual Studio. It lists my recent projects and you can even pin them so they do not scroll out of view when you do not use them for a while.
Activating a project from the start page will automatically connect your Visual Studio environment to the correct TFS collection, because the solution you open is bound to one of them.
Works like a charm!

Do I need to install TFS power tool if I use VS 2010

I'm looking at the list here Team Foundation Server Power Tools March 2011 and I wonder if it is helpful for my case - I'm using Visual Studio 2010 as a TFS client tool to connect to TFS servers; I don't have access to any TFS Servers.
It's confusing to me - the features such as 1) Team Foundation Server Backups, 2) Process Editor, 3) Work Item Templates, ect. are the ones for TFS server side, not absolutely not client side.
So I guess the tool is both a tfs server-side tool and a tfs client-side tool.
If you know it clear, please share. Thank you!
Ps. They said they have the Windows Explorer intergration which is quite cool: I love to check out a data/xml/image file without opening the IDE.
If you are not using TFS, the TFS power tools are of no use for you.
The explorer integration is the same kind of integration that TortoiseSVN has - icon overlays and a right-click context menu, only for TFS.
Yes, they are useful if you are going to work with a TFS for Source Control.
Your main IDE might be Visual Studio, and if you use the Team Explorer window in VS, then you also are using TFS in the background. In that case the power tools are a great help.
If you have access to a TFS Server and want to install just the Shell integration of the Power Tools, but not the IDE integration, you can do so, if my memory serves correctly.

Resources