by XDK
18. June 2013 16:48
var projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsURL + "/" + collectionName));
var myService = projectCollection.GetService<TswaClientHyperlinkService>();
string wiURL = myService.GetWorkItemEditorUrl(workItem.Id).ToString();
by XDK
23. February 2013 13:33
Soultion
Follow the below steps on the build agents
• Go to Start->Programs->Microsoft Team Foundation Server 2010/ 2012 ->Team Foundation Administration Console
• Select a build agent and click Properties
• Change the working directory from to $(SystemDrive) to D:, E: etc depending upon the free disk drive
by XDK
2. February 2013 13:15
Explanation
TFS Service account requires the follwoing permissions on TFS - Share Point DBs
APP |
Database |
Roles & Permissions |
SQL Server System |
Master |
Public and TFSExecRole |
TFS |
Configuration |
Public and TFSExecRole |
TFS |
Collection |
Public, db_datareader, db_datawriter, db_owner and TFSExecRole |
TFS |
Warehouse |
Public, TFSExecRole and TfsWarehouseDataReader |
SharePoint |
Configuration |
Public and db_owner |
by XDK
8. September 2012 20:14
Explanation
The users should have project level permission to label any folders and files in version control using visual studio IDE. The error occurs when team project does not have project users/groups permissions set at project level but its set on folders.
Solution
Add the users/groups permission at project level.
by XDK
10. August 2012 20:33
Explanation
Expected behavior in TFS web access as there are no display filter for MS office files. There are only three default display filters configured to open plain text (.CS, .proj etc.) and images on the browser. The display filter is used to display files on the web page. For the other kind of files, TFS web access cannot display them in the web page, instead it provides link for user to download it.
Reference
MimeMap.XML location: C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\App_Data
<Extension name=".doc" content-type="application/msword"/>
<Extension name=".pptx" content-type="application/vnd.ms-powerpoint"/>
<Extension name=".pps" content-type="application/vnd.ms-powerpoint"/>
<Extension name=".pdf" content-type="application/pdf"/>
<Extension name=".docx" content-type="application/msword"/>