Having installed VS 2013 Premium Update 4 on my VDI going along with Team Explorer for VS 2013 and TFS 2013 Power Tools Update 2 there is a problem with missing Team Explorer extension. While opening VS error occurs as on attached screenshot:
Honestly I have no idea, what causes the problem. I tried to reinstall VS, TFS and several oder hints like clearing Team Explorer cache folder. With no result. And it seems to be VS problem, because from command line I can call TFS and my workspaces are listed properly, so It is installed for sure. As a clue there is kind of error, which occurs while opening solution, and 2 from event viewer:
Related
However VS 2019 is the best IDE, sometimes we want to do somethings and we can not do it. for example, you work on a project and suddenly your PC is crashed and you have some class check out on TFS.
In new PC when you get source you see some sources check out with your user in another pc and you can not check-in or undo them in VS 2019. What can you do?
A tip for solving the problem with another work-space in TFS
Solution
The best way that I find without any writing commands is:
Install VS 2013 and after that get Power Tools for TFS vs 2013
After install power tools, when you get the source with vs 2013 and go to source control explorer, you can right-click on your project and go to find--->findByStatus
and click on find.
you see all files which are checked out by other workspaces and you can undo them
that's easy
Next step. close vs 2013 and open VS 2019 and get your sources and start again write code. (please write clean code :))
You can also use the Attrice TFS Sidekicks available here there are multiple versions for different Visual Studio but they all work against 2019. From the workspace sidekick you can list and remove old workspaces.
Also you can run from the TF.exe command line do remove old workspaces Microsoft doc available here
I am trying to set up an integration with MS Project 2013 with TFS 2017 I have not tried this before. so i am not sure if there is a problem with my pc setup or the addin configuration.This is the error i get when trying to open saved query:
Error Converting Value "System.Security.Principal.WindowsIdentity;xxx" to type 'Microsoft.VisualStudio.Identity.Services.IdentityDiscriptor'.Path 'authenticatedUser.descriptor'. line 1 postion 168
I am able to load it from Visual Studio 2015 in the workitems load the Query and then click "Open in Microsoft Office" then choose MS Project. this loads successfully. but i do get errors that I can't publish changes. It asked to restart Project and try again
I cannot reproduce this issue with project 2013 and TFS 2017.
Check Addins’ key in registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\MS Project\Addins), change newest addin (e.g. TFCOfficeShim.Connect.5) LoadBehavior to 3 and others to 0, then try to open saved query in Project 2013 and check the result.
If still don’t work, try to repair your project product.
I have uninstalled Office 365 and Project 2013. Restarted my PC and installed Project 2013 and this fixed this issue.
The issue came back and did some more google searches. I found the answer as part of a bug kb
https://support.microsoft.com/en-us/help/3181963/excel-or-project-cannot-connect-to-tfs-2010-or-tfs-2012-servers
After installing this update and rebooting it works.
First day trying new VS Community 2015 RC Version 14.0.22823.1 D14REL.
Our TFS server is still TFS 2010; I'm wondering if that's the source of the problem.
Other Team Explorer sections are working fine -- Work Items, Source Control Explorer, Pending Changes. I even did a merge and checkin successfully.
But the Builds section shows this:
I'm not even sure where to look for an error log.
VS.NET 2012, still installed on the machine, shows the Builds section correctly.
As support for TFS 2010 ends before VS 2015 releases don't expect the support to be awesome. If you don't have SP1 then your are already out of support. None of the editions of Visual Studio 2015 (and 2013) officially support TFS 2010 RTM.
I would recommend that you upgrade to TFS 2013, or TFS 2015 at your earliest opportunity. If you need support for that then get a consultant to help who has a good relationship with MSFT.
If your ops team is inside of keeping software up to that's and with the applications support model then you should seriously consider moving to VSO so that you don't have to worry about It any more.
Reinstalling VS 2015 after my Windows 10 debacle, I found that suddenly everything was working including builds! With the server still on TFS 2010. Apparently my problem was that I had the VS 2015 Community Release Candidate, not the final release.
I have successfully installed TFS 2012 and migrated my TFS 2008 databases into TFS 2012. From within Visual Studio I am able to connect to the new TFS server through my source control plugin and can see all of the projects that were imported from TFS 2008. The problem is that when I click 'Connect' I am getting an exception that an HTTP 500 error has occurred. On the server I am getting a warning in the Event Viewer because of this URL:
http://[servername]:8080/tfs/tfs2008projectcollection/services/v3.0/locationservice.asmx/TeamFoundation/Administration/v3.0/LocationService.asmx
If I manually go to the above URL minus '/TeamFoundation/Administration/v3.0/LocationService.asmx' the page loads fine. Additionally if I remove '/tfs2008projectcollection/services/v3.0/locationservice.asmx' and navigate to http://[servername]:8080/tfs/TeamFoundation/Administration/v3.0/LocationService.asmx the page loads fine.
Thing is this only happens with the project collection that I imported from 2008. I created a new project collection directly in TFS 2012 and I can connect to that project just fine within VS 2012. Has anyone ran into this issue and, if so, what is the best way to correct it?
It is unclear what caused / is causing this problem but after a TFS server reboot the issue is no longer manifesting itself.
I'm am also having this issue. I have Update 4 and this is a fresh machine. I see the issue here, have tried the fix and no luck. I've also tried a reboot with no luck. I see the issue here and it appears that Microsoft's only suggestion is to 2013. Unfortunately they do not supply a migration path directly between 2008 and 2013, so I have to cross my fingers and hope that upgrading the machine after importing from 2008 even with the error will solve the issue.
Can anyone confirm the issue is actually resolved in 2013?
I recently installed Visual Studio 2012 (RTM) and a project collection is missing from the Team Project Collections list in the "Connect to Team Foundation Server" modal window. The project collection is listed in VS 2008 and VS 2010. The collection state in TFS Administration Console shows as online. This is not a recently created collection it is over 2 years old with many projects. Share Point, Web Access, and Reporting Services sites all work fine. I have run Best Practices Analyzer and did not see anything that stood out although it contained a lot of information and I could have overlooked something. We are running TFS 2010 which was upgraded from TFS 2008.
Any help would be much appreciated.
I had a similar problem, where the project collection was listed, but as soon as I attempted to connect to it, the Team Explorer panel showed a 404 error message.
I resolved it by clearing the TFS cache folders under my user profile local app data folder.
In Windows Explorer, go to %LocalAppData%\Microsoft\Team Foundation. For my profile, there were 3 folders: 2.0, 3.0 and 4.0 (presumably corresponding to TFS 2008, 2010 and 2012) with a Cache folder under each. I cleared all 3 Cache folders and was then able to connect successfully.