Visual Studio use old URL to TFS server - visual-studio-2010

I have problem with bad url to TFS 2010 server in Visual Studio.
First I have TFS 2010 on machine zeus... TFS url was zeus:8080\tfs
Then changed location, now is TFS on machine hades...TFS url is now hades:8080\tfs
In visual studio I changed source control to hades:8080\tfs.
Then I created Team project in Team collection.
When I am trying add some solution to source control Visual Studio still use old TFS url (zeus:8080\tfs).
I don't know how can I change it. I search in Visual Studio some settings when I can configure TFS url.
But actually I am connected with good TFS url. I can add Team project to TFS collection but when I am trying add solution Visual Studio use old URL.
Any advice.

Did you try to clear your cache?
Did you follow the steps in the MSDN article: Move Team Foundation Server from One Hardware Configuration to Another?

Related

Visual studio 2010 loses mapping to TFS 2013

I have visual studio 2010 installed on user machines and TFS 2013 on server machine.I am facing a strange issue from few days. When I map any project to TFS team project it gets mapped perfectly. But when I open it again visual studio 2010 doesnot showing any mapping to the local folder on user system. That is it looses mapping to the project that is on local system and which was earlier mapped to that TFS team project. Any help will be strongly appreciated.
Sounds like you have selected the wrong workspace.
If the workspace changed, the mapping will definitely "lose".
Mapped perfect with workspace PATRICK-W10
However, if the workspace changed to PATRICK-W10_1, you need to remap all files.
Please double check this.

Visual Studio Team Services workspace error

I created a Visual Studio 2013 MVC project in Visual Studio 2013 Ultimate using Visual Studio Team Services through visualstudio.com. I have since reinstalled Windows and Visual Studio 2013 and have reopened the solution and receive error:
The solution you have loaded is bound to the source control server at https://{myaccount}.visualstudio.com/defaultcollection, but no workspace on that server could be located. If you do have a workspace on this server, and you want this solution to be opened under source control,
connect to that server using Team Explorer and then re-open the solution.
I am having difficulty locating how to setup and manage workspaces on my local machine and Team Services.
If you open visual studio and connect to your team project you should then be able to open the solution explorer. Once open you should see your project grated or as It is not maped locally.
Right click on your desired mapping folder level and map it to your local disk.
Note: You will need to map it to another location and pull across any uncommitted changes.

Add existing folder to Team Foundation Server 2010 that already exists for other Team Foundation Server 2012

I am workign with a central Team Foundation Server (2010) and I connect to it from my workstation. On my workstation I use both Visual Studio 2010 and 2012. I have installed both have the Team Explorer 2010 and 2012 and the latest patches and hotfixes.
I need to use both Visual Studio 2010 and 2012 because I am developing both .NET 4.5 code and SQL Server Reporting Server reports for SQL Server 2012.
I can configure both instances of Visual Studio to connect to TFS, I mapped my workspace in Visual Studio 2012 and I can interact with Source Control. I tried configuring Visual Studio 2010 to use the same working folder, I can connect to TFS, I can see the source control folder, but when I try to map it to the same local folder I get the following error message:
Map
The working folder "C:\TFS\Example" is already in use by the workspace JohnDoesPC; Doe, John on computer JohnDoesPC
I tried configuring the workspace mapping through the dropdown in the Source Control Explorer:
Team Explorer>project>Source Control>Map Window>(Set Local Folder)
And I tried it through the Source control menu under the File menu:
Go File>SourceControl>Manage Workspaces>(Highlight my showing workspace)>Edit>Try to add existing folder.
What am I missing? Do I need to map my solution folder to two different local folders? That would be very confusing and inconvenient!
The simplest way to put this is that I want two versions of TFS to point to the same local location. Is that possible? Or should I be creating a new project up just for my SSRS reports?
EDIT: See pic for more detail:
Make sure that in both Visual Studio 2010 and Visual Studio 2012 the same work space name is selected. If you cannot see the workspace of 2012 in Visual Studio 2010, check the advanced workspace settings of the workspace in 2012. Ensure that the workspace type is set to server.
When both Visual Studio versions are using the same workspace name, they should be able to see and use each others file mappings as well.
This is what the settings in 2012 should look like:
And that workspace should be visible in 2010 as well:
Make sure you select the same workspace name in both versions of Visual Studio:

I need the url for TFS for TeamCity?

I have setup teamcity in the past with Subversion, no problem. I have never used TFS before. We have TFS 2010 running and I can connect to via Visual Studio 2010. How do I find the URL for TeamCity? I am using TeamCity 6.
You can find the configured TFS URL from within Visual Studio by picking View -> Team Explorer, then looking at the top node. (I'm assuming for a second that you have only one TFS server set up; otherwise, there should be multiple top-level nodes.)
If you right-click on it and pick Properties, it will show you the full URL including protocol and port.
This is for Visual Studio 2008, but I'm pretty sure it's the same in 2010.

Adding a project to the TFS server

I have my project already added to the online TFS server of Visual Studio. Now I want to unbind the project from the online TFS server. I have already tried unbinding the Project from the advanced options of Source control.
When I try to add the project to the source control after unbinding, the server name of the TFS remains the online TFS server. How can i change the name of the TFS server?
I have tried most solutions given on SO and internet. But nothing could help me to change the name of the tfs server
You didn’t completely remove TFS Bindings.
There is a tool to remove Source Control Bindings from Visual Studio Solutions and Projects from msdn: http://blogs.msdn.com/b/saveenr/archive/2012/08/11/a-tool-to-remove-source-control-bindings-from-visual-studio-solutions-and-projects.aspx
More ways and more information for you reference: How can I completely remove TFS Bindings
Moreover, If the online TFS mean Visual Studio Team Services(VSonline), to change your server name(server account), please refer this link Change Visual Studio Team Services account owner from MSDN.

Resources