visual-studio-team-system

Enforce link in Team foundation server bug work item for duplicates

We have just started out with Team Foundation Server 2008 / Visual Studio Team System and we are pleased to find how we can export and modify work items to our needs. However, this last thing that would make the setup perfect for us has proved somewhat difficult: We have exported the Bug work item type and have made modifications to it ...

Checking a file out (TFS) for a pre-build action

I've added a pre-build action for an ASP.NET web control (server control) project, that runs jsmin.exe on a set of Javascript files. These output files are part of the source control tree and are embedded into the assembly. The problem is when the pre-build runs, jsmin can't write the file as it's readonly. Is it possible to check the ...

VS 2010 Beta1 "Historical Data Has not been Collected"

I am trying out the Historical Debugger in VS2010 Beta 1. I have it turned on in the settings (at least I think I do), but when I try to examine objects the value is: [Historical Data Has Not Been Collected] Any Ideas how to get this to show the actual value? Here is the code in question: public partial class Form1 : Form { ...

Visual Studio 2008 Source Control Explorer with Subversion

I usually use Visual Studio Team System 2008 Source Control Explorer with TFS, but I'm considering using Subversion for some small projects, can I make use of the already installed Source Control Explorer without installing a new Subversion client/plugin in my IDE? ...

Is Scrum for Team System a good tool for managing the scrum process?

Hi, We've had several sprints with the traditional whiteboard and PostIt notes and are ready to move forward to integrating the process into our Team System environment. One tool we're considering is Conchango's "Scrum for Team System" (http://www.scrumforteamsystem.com/en/) Has anyone tried this tool in a real world scrum process? Was...

what are the pros & cons of Git and Hg Version Control System?

I am now in a condition to choose which Version Control System, so I would like to get some comment from experience developers who have used these. Which one i should use and in what condition? ...

VSTS report on Source Control

Is there a way in VSTS 2008 to generate a report on the source control in Team Foundation Server, of what are the files that were changed by user: x for last few days? ...

Modular TeamBuilds

I have 3 TFS Builds (2 Dev and 1 Cert). I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items. The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get ot...

Is there a TFS policy to allow only merges and not edits?

We have a baseline folder and development branches in TFS. We'd like to add a policy where changes can only be merged into the baseline from a development branch and not edited directly unless you override the policy. How can we do this? ...

How can I remove a merge candidate from the Merge tool in Team System?

In Team System, I have a file that was changed in branch ServicePack\2.1 (which was branched from Integration) and I don't want to merge it to Integration. How do I delete it from the potential changeset list when I try to merge selected changesets? ...

ASP.Net Grid view data filling issue

Hello everyone, I am using VSTS 2008 + C# ASP.Net application type project. My requirement is, I want to let UI designer to work independently with business logics developer. Since UI designer (normally) do not know how to fill Grid View control using code to connect to database. So, my question is, if there are any ways to generate fak...

Context parameters in VSTS Web Tests

Hi, Can anyone help me with the following question? How can a context parameter be used in a parameterized request? I have created an extraction rule that populates a context parameter (say Param1). I also have parameterized a subsequesnt request and want to use this context parameter in that request. Eg. "{DetailArray:strUserID:xyz,int...

VSTS Database Edition Schema Comparison

We use VSTS Database Edition to version control our database schemas. I like the idea of how it is supposed to work but have a big issue with the Schema Comparison feature. I like to use it for my deployments to see what has changed in the project vs a target database. Unfortunately, it shows many changes for objects that have not been c...

how to improve SQL query performance in my case

Hello everyone, I have a table, schema is very simple, an ID column as unique primary key (uniqueidentifier type) and some other nvarchar columns. My current goal is, for 5000 inputs, I need to calculate what ones are already contained in the table and what are not. Tht inputs are string and I have a C# function which converts string in...

web services interface design which returns large amount of data

Hello everyone, I am designing a WCF interface which returns status of all orders (Order data structure includes two members, a string type ID and an enum orderstatus, and designed as DataContract), the total # of orders are very large, about 10M. I am concerning about the traffic and impact to server side if client calls this interface...

Looking for some UI thread and working thread tutorials

Hello everyone, My working environment is VSTS 2008 + C# + .Net 3.5. I want to learn the differences between UI thread and worker thread, and any other types of thread (i.e. non-UI thread is the same as worker thread)? I also want to learn the restrictions of what we can do on each type of threads and best practices to avoid any issues....

Replicating Team System's "Open Selection in Microsoft Excel" functionality

In Visual Studio, VSTS has the functionality to select a set of work items and click a button to open them in Excel, where you can modify them. Then, using the 'Team' ribbon, you can publish changes back to TFS. We would like to replicate this functionality in a totally different business context. Does anyone know of any sample code or ...

The fastest way to query Work Items from TFS

I have 6000 work items stored in TFS Firstly, I need to receive them all (well, this is fairly simple to do using WIQL or something else) Then, I need to filter out all work items I was not working for a particular date range. For example, I am looking whether there were any changes performed for each work item. Finally, I show work i...

Merge a task with TFS

I am using TFS source control, and I fixed bug, and when I checked in my changes, I associate the check in with the task (that represent the bug). Now, the complicated stuff. I want to merge the changes associated with that task, into another branch. I couldn't find a way to do it in Visual Studio team system, or TFS source control exp...

file upload issue

Hello everyone, I will need client (end user) through browser to upload big files (e.g. similar to Youtube's scenario which uploads big video files), the file size should be no larger than 500M bytes. I am using ASP.Net + C# + VSTS + IIS 7.0 as my development platform. Any ideas or good practices about how to handle big file upload iss...