tfs2008

How to get a changeset SQL query using DB Pro for .net and SQl Server when usinga Team build?

Hi all, I am working on Build Automation via Team Build (TFS 2008). We are using DB Pro with our Web project. I want to get the SQL script for database change-set ,(that has occurred till the nightly build), automatically using MSBuild Script . This script has to bundled in a zip file along with Web Application binaries and pages. Ho...

TFS and Project portal sync

Just installed TFS 2008. Created a project with portal site. When I create a bug in TFS from Visual Studio I'd like to see that bug in the web portal. And the other way around. When I add a task in the web portal I'd like to see that in Visual Studio. It's as if the web portal is not connected to TFS. I'm using the MSF for Agile Softwar...

TFS missing original files on machine.

I checked some files out for edit about a week ago and I want to check them in or revert my changes. Before I do that want to see what I've changed, but when I compare them, the local copy of the original file is no longer on my machine. How can I get the original file back without losing my changes? ...

Comments vs Check-In Notes in TFS (VSTS)

What's the purpose of the Check-In Notes? Why use them instead of just the "Comment" you enter when you check-in. I see there are four types of Check-In Notes: Code Reviewer, Developer, Security Reviewer, and Performance Reviewer. Is the idea to put in the name of these reviewers or some actualy comments by these people. Does this...

Team Build error : ASPNETCOMPILER : error ASPRUNTIME: '/localhost:8080' is not a valid virtual path. Any suggestion ?

Hi all, I am trying to build Web Application solution built using VS 2008 and facing the following error. ASPNETCOMPILER : error ASPRUNTIME: '/localhost:8080' is not a valid virtual path. I have absolutely no clue how and why is is occurring? Is it related with the deploy project settings or web site properties? The Solution is checke...

Determining the size of deltas in TFS

Our TFSVersionControl database has grown significantly in the past couple years, and is edging on 80GB. Unfortunately, we're in an environment where every gig of data storage is internally charged at a high rate, so there's lots of focus on keeping storage growth to a minimum. I believe the majority of growth is happening because we ch...

errors during dotfuscator 4.5 task with TFS Build (Team Build with TFS 2008)

Hi all, I am invoking dotfuscator task via TFS Build a.k.a Team Build , taken from -=Dotfuscator Task with Team Build =-and receiving the following error: Build FAILED. (AfterCompile target) -> error MSB4061: The "Dotfuscate" task could not be instantiated from the assembly "C:\Program Files\MSBuild\PreEmptive\Dotfuscator\4.0\PreEm...

TFS - Contributors Group

We have created a Team project and after the project has been created by agile process which gets the contributors group by default by mistake we deleted the group. what are the steps to add the default TFS server group to a Team project ? ...

How to create an sql script file in TFS 2008 at designated directory automatically for developers to add sql script?

Hi all, I have just revised my question. Actually i wan to create an empty txt/.sql file in TFS 2008 Source Control server at designated directory/folder where developers can add sql script for their part of development. I need this file to be created automatically each time our nightly build script runs. I have created directories or...

TFS Changeset problem, files missing but present if viewed via "view history" open changeset

Hi, having a weird problem with TFS (TFS2008). We've done a merge into our Main trunk. We've resolved the conflicts and we've checked in associating it with a single work item. So we have our WorkItem with a single changeset in it. Our build is failing because the previous version of the csproj file is being got from TFS. If I open th...

MSBuild Target BeforeBuild not Executing

I seem to have a situation where code that I put into the BeforeBuild target is not successfully executing. Here is what I have: <Target Name="BeforeBuild" > <Message Text="Before Build" /> </Target> I can’t see the message output in the build log when the build runs. Is there something wrong with the way I’ve formatted this, or...

How do I retrieve the node order of area paths in TFS (by accessing the database)

I am working on some reports that retrieve the area paths for a particular project from the TfsWorkItemTracking database. I want to retrieve those area paths in the same order as which they are displayed in the Team Explorer. (If you're using Team Explorer via VS 2008, and you right-click on a TFS Project, it will give you some options t...

Moving a work item in TFS

Is it possible to move a work item from one project to another inside TFS? I’ve seen a copy option, but no move. Also, if it is possible, what’s the implication for any of the WI history? I found this article from 2008 that seem to say it's not, but I wondered if there'd been any progress since then. ...

Removing file with history in TFS

Is it possible to remove a file with it's history from TFS source control? One of our team members hardcoded his password into a file and now we must remove the file with all it's history so the password cannot be found. ...

Deleting Team Project in TFS after moving Source Control items

I have a situation where I have created a new team project and imported source code (with history) into TFS from VSS. The problem is that the team project name is wrong. I am planning on creating the new (correct) team project and moving source code from $WrongTeamProjectName to $CorrectTeamProjectName. Will it be safe for me to delete...

Read Build Number and increment it using a Custom XML File in TFS 2008 using Team Build and msbuild tasks

Hi all, I am trying to accomplish nightly builds and in that i need to automatically increment build number. We have a custom xml file which is already being used by installer and update installer to properly update target system. Before this Nightly Builds, we used to update this file manually and versions of the assembly were manually...

Ignore Resharper files in Team Foundation Server source control

How can I use Resharper without adding the Resharper generated files to the TFS server. Is there some sort of .ignore file/setting I can let the TFS maintainer modify. Or is it done client-side? We're using TFS 2008, but will be upgrading to TFS 2010 in the near future. ...

Query for Work Items that contain attachments of a specific type

In our releases sometimes it is necessary to run scripts on our production db. The standard has been to attach a .sql file to the work item if a script needs to be run on the db. Is there any way I can query for Work Items which contain an attachment that is a .sql file? I'd prefer not to have to open each Work Item to check for these ...

tf.exe Unable to detrmine the workspace

Hi all, I am trying to call TF get command via Tem Build script. I am getting the following error Unable to determine the workspace. Folks over the internet tell that this error is because Team Build cannot find the workspace because it is being called from a directory which is not part of the workspace. The solution presented is ...

TF204000: The Team Foundation server to which your team project is connected does not support the Rollback command.

When I try to rollback my bad changeset using tf rollback /changeset:xx I'm getting next error: TF204000: The Team Foundation server to which your team project is connected does not support the Rollback command. Is it possible to fix that someway? Googling brings not result ...