tfs2010

TFS Deployer Cross Domain

Hey guys, I am having trouble getting TFS Deployer to work over two domains. I have two domains, DEVDOM and TFSDOM. TFS Deployer is installed on DEVDOM machine and I have entered in the correct settings for authenticating against TFSDOM TfsDeployer.exe.config: ... <setting name="TfsUserName" serializeAs="String"> <v...

TFS2010 Build failing -- Read permission required

I recently moved a project from TFS2008 to 2010, and I'm having trouble getting the 2010 build scripts to work. I managed to make the script run using the the upgrade template, but I'm running into the following error: TF204001: The item $/blah/blah/blah/TFSBuild.proj cannot be downloaded. Read permission is required to retrieve th...

Build with TFS 2010 on Windows Server 2008 R2 with mixed Platforms

I'm moving to a new TFS server on a 64 bit machine (Windows Server 2008 R2). My problem is that now some solution (WinForms with another class library projects) are failing. In my first attempt, I tried Release|Any CPU in the Process Tab of the Build definition Window, but with this configuration my WinForms project gets skipped. Then ...

Unable to create new Team project over the internet getting SQl Reporting service resolve error

Hi I have installed a Team Foundation Server 2010, and it works perfectly over my Lan, but I need it to work over the internet too. My problem is that when Im connected to my team server over the internet, I get the following error, when I try to create a new Team project. TF218027: The following reporting folder could not be created o...

Where is TFS 2010 Team Build Revision $(Rev:.r) Stored?

TFS 2010 exposes a "Build Number Format" property, which contains $(BuildNumberDefinitionName) and $(Rev:.r) variables (among other things). Two and a half parts to my question: What are all the available variables that can be used here? Where does the value for $(Rev:.r) come from (where is it stored)? a. Can it be reset or changed?...

TFS work item only view - project segregation

Hi, We have TFS 2010 set up with a single collection. This is great as there are minimal databases to manage and we can view work items across multiple projects. We now want to open the TFS/WSS Work Item Only View to clients to let them view and submit bugs. This is fine from the SharePoint permissions side, but falls down just sligh...

Is it possible to change the length of a string Work Item field in TFS 2010?

Hi all, I'm trying to add 3 fields to some Work Item templates in my TFS 2010 project so we can do simple release notes documents generated via reporting services. Using the Process Editor (in TFS Power Tools Sep 2010) I have added 3 fields, all String types - "Version", "Title" and "Description". Each has had the Reportable attribute ...

TFS 2010 and creating a package

I am running the build with the flags /p:CreatePackageOnPublish=true /p:DeployOnBuild=True The agent creates a the folder: C:\Builds\99\MyWebProject\Sources\WebProj\Web\obj\Debug\Package\PackageTmp that is used when the package is deployed. However, this folder does NOT have the files that are not in source control but are created ...

Can I easily edit code without check out in Visual Studio?

A lot of the times, when I examine code, I like to use intellisense to kind of get a feel for the structure. It's a quick way to know what variables exist and which are in context etc. However, in Visual Studio 2008, this always results in a check out of TFS. Is it possible to change it so that TFS has to expicitly ask me if I want to c...

Deploying Custom Policy on TFS2010 using VSIX and PKGDEF

I'm having a hell of a time trying to get a custom policy to install on TFS2010 using VSIX. I have the policy up and running and working fine on my development PC, I have written a value to the registry manually, and the policy is enforced. The trouble is setting up a VSIX project and deployment to our other development machines. I fo...

How to run unit testing tests from command line?

I googled and found the below helpful references. Currently I want to run all from the command-line (for easy of execution & quickness) in cases: A specific test (ie. a test written by a method marked [TestMethod()]) All tests in a class All impacted tests of the current TFS pending change of mine. All tests All tests except the ones m...

Registry path for TFS2010 custom checkin policy?

Hey, how can I register a custom check-in policy for VS2010/TFS2010? For 2008 it was the following path: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Checkin Policies But for 2010 the path ends after "TeamFoundation", even though I should already have some registered policies from the Power Tool...

File sharing options in TFS2010

All, We're thinking of migrating our existing VSS sourcecode to TFS2010 but there is one big block. We cannot share source between multiple solutions. We need this for good reason - we have a large common code base in the "server" world with our "mobile" world, but we need different VS project files to be able to compile either in a se...

MSDN Library download?

I spend a lot of time offline, and while normally I'm in the middle of some book or magazine for work, I've recently been reading through the MSDN Library documentation of Visual Studio 2010 Application Lifecycle Management (aka TFS 2010). Unfortunately, this documentation doesn't seem to be included on either the Vs2010 nor the VsAlm2...

Error Configuring Reporting Services in Team Foundation Server 2010 post install

We are configuring SQL Server Reporting Services on an existing installation of TFS 2010 RTM. After configuring the Warehouse, Analysis Services and Reports tab in the TFS Administration Console, I get the following error: "Failed to add BUILTIN\Administrators account to the TfsWarehouseDataReader role on the Tfs_Warehouse relational da...

Mixed Mode Authentication (SQLMembershipProvider )in TFS 2010

Hi everybody. I'm new to TFS 2010 (Team Foundation Server 2010) and I'm looking forward to authenticate users in TFS using Mixed Mode Authentication. I mean using Windows Mode Authentication and SQL Authentication with SQLMembershipProvider and SQLRoleProvider. Is this possible? Thanks in advance! Gonzalo ...

TFS 2010 - The server returned content type text/html, which is not supported error, solution?

I have a setup a new TFS 2010 build definition. When I run the build for this build definition I get the following error during a "GET" operation: "The server returned content type text/html, which is not supported" 13:48 Overall Build Process 00:00 Update Build Number 00:00 Create the Drop Location 13:46 Run On Agent (re...

TFS 2010 Installing Team Explorer for a web solution

I've developed a custom web solution that connects to the TFS server. Now I want to move that solution to the test phase by having it installed on a test machine. The problem is that on the test machine Team Explorer 2010 isn't installed which has resulted in some weird behavior, e.g. the WorkItemStore is always null after connecting. ...

Run powershell script automatically after MSDeploy

As a part of the deployment process, I'd like the user to specify a password that is encrypted after the deployment process. For encrypting the password, I need to call the aspnet_regiis or use C#. How do I automatically invoke a script/or command line command after the deployment is complete (deployment is done either using GUI on IIS (...

App_offline.htm created/deleted whenever I check out a file in TFS

I have an AJAX-heavy ASP.NET web application developed using .NET 4.0, using TFS as our source control. We recently upgraded our dev tools to use VS2010 and TFS 2010 exclusively, but now every time a file is checked out, we see visual studio reloading all the symbols, and all the sessions being dropped. After putting some error logging ...