Team Foundation Serivce (TFS) and running visual studio instance - tfs

I have created a repo using TFS (cloud) on www.visualstudio.com
I created my repo as on something as myproject.visualstudio.com and when trying to run or click on following link:
Open new instance of Visual Studio it throws an error as
Cannot open file vstfs:///Framework/TeamProject/..... Verify that the
file still exists and then try again
I searched here on SOV and also on MSDN and found a thread on MSDN forum but it was about some services pack and updates.
Has anybody ever used this service?
Thanks.

I assume that you already created project on yourAccountName.visualstudio.com
Then, if you are using VS2010, install recommended update SP1 VS2010 SP1
After that (it might take a while as long as 30 min), just start VS2010, on start page just click Connect To Team Foundation Server, then on "Select a team Foundation Server" click on "Servers", then "Add", and in "Name or URL of Team Foundation Server" just paste URL of your AccountName such as: "https://yourAccountName.visualstudio.com" (withouth quotes). then you jsut click OK and that's it. Your VS2010 should be now connected with your account at visualstudio.com
This is a bit of a manual method but it works :)
You can find more about it in this MSDN blog Team Foundation Service Preview – Connect Visual Studio 2010 to Your TFS Preview Account

there is a solution I just found which walks me through IDE.
Run VS2012 Under "Start" in VS 2012 click on "Connect to Team Foundation Server ..."
It will popup a dialog so then in bottom of dialog/form there is link as "Sign In", click on it
Enter your user-name and password Now, you are connected to the server and can view
all your Repositories
P.S. don't forget to add your server URL on the list TFS in your IDE provides.

Related

VS Code integration with TFS

I'm now starting to use VS Code and I like this tool except for the fact it won't integrate with TFS.
I have looked all over the place for a solution that would be easy to use and didn't find anything good.
The solution of TFVC that offered here How to connect TFS in Visual Studio code is not what I'm looking for.
I need to have the source control explorer and to be able to right click on a file to check it in and out.
Any good solution out there?
Visual Studio Team Services Extension for Visual Studio Code is the only official solution for now.
Source control explorer is something integrated with visual studio, which do not included in visual studio code.
If you really need this feature, you could submit a uservoice here, TFS PM and Admin will kindly review your suggestion.
As a workaround, suggest you to use the tf command to do the check in option.
1.on the Tools menu, click Connect to Team Foundation Server.
2.in the Connect to Team Foundation Server dialog box, select a Team Foundation Server from the drop-down list.
3.Under Team projects, select one or more team projects from the list. Team projects with a check mark next to them will display in Team Explorer.
4.click OK.
Team Explorer displays the team projects under the selected Team Foundation Server.

"No repositories available" in Visual Studio 2017 when connecting to TFS

When I try to connect to TFS 2015 from within Visual Studio 2017, I get the message "No repositories available". The tfs server is listed, but I cannot connect.
No problems in Visual Studio 2015.
Do you have an idea, what I could do?
Thank you
This is a new UI design changed by Visual Studio 2017.
In Visual Studio 2017, we changed the behavior of the Connect page. We
now populate the Connect Page list with only the items you’ve
selected.
If you select a project and click "Connect", you will see only the project node in the Connect page. To get your repositories to appear
on the Connect page you need to select the repository node in the
Connect dialog and hit Connect.
This change was made in response to feedback from folks who had large
numbers of repositories in their team projects and wanted to not have
them all added whenever they connected to anything in said project.
More details please refer the visual studio team's comment in this similar question: Team Explorer does not show the repositories within a multi repository project
I had similar issue ,for me TFS is using Kerberos authentication. I changed the authentication to NTLM by running command from Developer tools under TFS server.
TFSConfig Authentication [/provider:NTLM|Negotiate] [/viewAll] [/siteType:ApplicationTier|Proxy]
Reference - https://learn.microsoft.com/en-us/azure/devops/server/command-line/tfsconfig-cmd?view=azure-devops#authentication
We also did IISRESET after this.
After this i am able to view the Repos under visual studio.

SSIS TFS configuration

I am trying to source control ssis packages
Installed TFS server component and created Team project collection.
There is no plug in to select in DATA TOOL->Option->Source control->Plugin
How to do this on SSIS 2012 !?
I have also installed explorer and expecting the visual studio level check in facility would appear in SSIS Data tools.
Assuming you have installed TFS 2012, and installed Team Explorer for VS 2012. after creating Team Project Collection, you also need to create a Team Project in Team Explorer.
To connect to TFS in SSDT, you can follow:
Launch SQL Server Data Tools (SSDT).
On the Team menu, click Connect to Team Foundation Server.
In the Team Explorer – Connect pane, click Connect.
In the Connect to Team Foundation Server dialog box, click Servers.
In the Add/Remove Team Foundation Server dialog box, click Add.
In the Add Team Foundation Server dialog box, enter the server information, click OK, and then click Close in the Add/Remove Team Foundation Server dialog box.
In the Connect to Team Project dialog box, select the server you’ve added, click the appropriate team project, and then click Connect.

Cannot access TFS Web Access - Class not registered error

I have been using Visual Studio 2012 with Microsoft Team Foundation Server for a while.
I noticed today, when I am in Team Explorer and I click on "Web Access", it throws an error that says "Class not registered". Everything else seems to work.
Any idea why I would be seeing this error?
If you go to Add/Remove Programs and run a repair for Team Foundation Server, that should fix the issue.
Also, you should consider installing the latest quarterly update available for TFS.
http://www.microsoft.com/en-us/download/details.aspx?id=30658

How to update VSTS 2008 Team System Web Access to VSTS 2010

Is there something like VSTS2010 Team System Web Access (TSWA), if yes where is it located(web page, package with VSTS2010 installer), I'm searching for it but Microsoft pages directs me to VSTS2008 TSWA
I try to upgrade VSTS2008 to VSTS2010, after the upgrade I tried to access it through Team System Web Access and I got an error The type 'Microsoft.TeamFoundation.WebAccess.DefaultPage' is ambiguous:it could come from assembly 'C:\Program Files\Microsoft Visual Studio 2008 Team System Web Access\Wiwa\bin\Microsoft.TeamFoundation.WebAccess.Server.DLL' or from assembly 'C:\Windows\assembly\GAC_MSIL\Microsoft.TeamFoundation.WebAccess.Server\10.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.WebAccess.Server.dll'. Please specify the assembly explicitly in the type name.
Do you have an idea what should I do?
When you do a clean install of TFS 2010, the Team Web Access is created to connect to the SharePoint portal. This of course happens when a team project is created. There's simply a "Team Web Access" link in the left navigation pane of the portal.
Try to right-click a team project in Team Explorer, and choose "Show Project Portal". See if you have that link in the right nav.

Resources