We're using TFS as source control provider and for the project management (documents, ...). Maybe I missed something completely, but is there a possibilty to view source code directly from the project portal? I know that source code is not stored there, but does there exist a 3rd-party viewer or something? It would be nice sometimes not to simply have a quick look at the source files without retrieving them from TFS.
Any ideas/tools/addins?
Thanks for any hints
You can try Team System Web Access.
It is standalone portal which enables you to see source, work items, reports, documents, builds etc. Like from Team explorer integrated in Visual Studio.
alt text http://msdn.microsoft.com/en-us/teamsystem/bb676728.TeamSystemWebAccess(en-us,MSDN.10).png
Related
Our application code is spread over many dozens of folders in a nested hierarchy, and we have several hundred files making up the application.
So I wanted to know if there is a way to search for files by their name in the Visual Studio 2017 version of TFS ?
I spotted Q & A as per:
TFS: Search for a file by name in source control
but this answer seems no longer applicable for TFS and Visual Studio 2017.
I can, of course use tools outside of TFS (like the "Search Everything" app) and then navigate to the same folder and file in TFS.
I just felt that surely there must be a way of doing this file search within TFS ?
I have tried the search option in Team Explorer but I'm not sure how to use this ... not sure if this works ?
i.e.
There should be a search bar at the top of the TFS site that looks something like this you can enter all sorts of filter like those in the picture. Or you can search in files but that will only look at what you have checked out at the moment and not all over TFS. If you don't see the Search bar, it might be because your TFS Administrator did not install the search extension. You might want to contact him/her.
There is not any out of box feature to do this in Visual Studio 2017/Team Explorer2017 directly. If you want to search folders/files by name:
For TFS 2017, you can use Code Search if it's been configured by
your TFS admin. This is through web portal, more details please refer
this doc-- Search your code
For earlier TFS versions, you can create a local workspace and "get"
that specific version locally. Then use the built in search in your
OS (such as Windows file explorer) to find what you are looking for.
Hope this helps.
I use Visual Studio Team Services (visualstudio.com) for all of my source control. I would like to make a couple of my projects open source and grant public access to download the source. Does anyone know if there is a way to configure a Visual Studio Team Services project to facilitate this? Specifically, I would need a way to grant read access to everyone, but keep write access restricted.
At the time of writing, this is not possible, but I created a UserVoice request for it. So if you want it, go and vote for it.
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3701461-in-team-foundation-service-allow-projects-to-be-
I don't believe you can grant access to "everyone". I don't believe there is a concept of "everyone" in the hosted system.
As discerns says, this is not possible right now. CodePlex would be the thing to use for Open Source projects based on TFS.
Is it possible to use TFS source control without Visual Studio? I have to put some files in some source control, those files are stored in a folder in some server, that is something developed in Oracle forms. I just need to add those files in some source control and I'd like to use TFS for that. Any tips or tools could we use for this?
TFS is likely to be overkill for a few files in a single folder, but if the TFS infrastructure is already in place then it will work.
You will need Team Explorer (or, on non-Windows) Team Explorer Everywhere installed to give you the client tools. But you can perform all source code operations with the tf.exe command line (or equivalent from Team Explorer Everywhere).
Team Foundation Server Power Tools has Windows Shell Extensions that provides integration
with Windows Explorer and the common file dialogs. With this integration, you can perform many source control operations without having to run Visual Studio or a Team Foundation command-line tool.
see this answer but you will need to make sure you have tfs server running as well to connect to. Would it not be simpler to use git/mercurial/svn...{any other free source control system}?
I am one of the lovers of TFS, but I think in your case if you don't need to use Team Explorer or Team Explorer Everywhere (which will need command line used) for none windows I suggest to use SVN sub version (VisualSVN Server) it's open source and it has integrated OS shell (TortoiseSVN ) right click menu which will be easy than using command line
Vlad: That is true, but this important: I have used the "Shell Extensions" for a while only to realize that it does create problems. First of all, the "Shell Extensions" does not report errors during a check-in; it only unexpectedly stops, and the window closes.
Also, the reason I am looking for an external "Source Control Explorer" is that if you delete any file from Window Explorer that was under Source Control by TFS, the Check-In procedure will fail saying that there is a file missing. The correct way to safely delete a file is to do it through "Source Control Explorer"; the check-in then works. Usually not a problem, unless, like me, you have a Java project and have no integration between NetBeans & TFS.
Is there anyway to automatically paste screenshots into TFS 2010 Web access for bugs? I don't want to have to save the screenshots into files and then add them as an attachment. This takes a while to do this. I just want to quickly add them to the bug.
I don't think you can.
See this similar (possibly not identical) question on MSDN forums:
http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/fe8b80c9-8fbd-4d6c-bc65-80d75dd3409b/
In response to:
Now, when adding the task into TFS 2010 , I can use the cupboard to “copy/Paste” from OneNote to TFS. But then the image is stored as a link to my local machine and not stored in TFS server.
The answer was (repeatedly stated):
As I said in my previous reply, we should to add the images as attachment into Work Items. Open Work Item in VS, click Attachments tab, then click Add to browse your images, the images will store in TFS Server.
Or, DIY and write an application
TFS exposes an API that you could use to create your own tool, rather than using their web access. See this question for how to implement that particular piece (adding attachments):
Upload a file using TFS Client APIs
In Visual Studio 2010 you can go to the Attachments Tab and paste your screenshot using CTRL-V.
An attachment called 'screenshot.png' will automatically be created.
How to Add VS project to Source Control (TFS) without Visual Studio? I was also given a web access to tfs project but I did not see any upload option or create sub-project option (I see my main project "Project 333" and all the solutions under it, still talking about via web ui).
You cannot upload a project to TFS via the web UI. The web UI of TFS is for viewing source only, and keeping track of bugs/tasks and the general status of your code and builds. You will need either Visual Studio or the TFS client installed in order to commit code to source control.