Author Archives: jpadda

About jpadda

Technical Consultant currently working as part of the .Net team for EMC Consulting.

TFS 2010 Upload build from droplocation to FTP Activity C#

I had a recent request from a client asking to upload the build from the droplocation to an FTP drop location. I thought that this may prove useful for others: Activity – C# .Net 4.0: using System; using System.Activities; using … Continue reading

Posted in Uncategorized | 11 Comments

Sort 2-Dimensional Jagged Array CSharp.

Hi, I needed to sort a list of a 2-dimensional jagged array of files in MSBuild. The idea being is that I’d have SQL files from different folders. I’d like the files in both folders collected into a single list … Continue reading

Posted in Uncategorized | Leave a comment

MSBuild Kill Application Pool Process c#

Needed to kill an application pool process using an MSBuild task and C# cos the process was locking a file. using System; using System.Collections.Generic; using System.IO; using System.Text; using Microsoft.Build.Utilities; using Microsoft.Build.Framework; using System.Diagnostics; using System.Management; namespace MyProject.Deployment.Tasks { public … Continue reading

Posted in Uncategorized | Leave a comment

TFS 2010 Queue New Build Workflow Activity

Hi, This has helped me a couple of times, so thought I’d post it. It’s a C# workflow activity that you can incorporate into your TFS 2010 build workflow to queue one build definition from another, i.e. when you’re queueing … Continue reading

Posted in Team Foundation Server 2010 | 2 Comments

Event log write permissions

Scenario: Writing to the event log on a Windows Server 2008 through my c# code. However I’m getting access denied errors when attempting to write events… It’s an asp.net application written in C#. The application pool user is not the … Continue reading

Posted in Windows Administration | 8 Comments

TFS 2010 Move from SQL Server Enterprise Evaluation 2008 to SQL Server Standard 2008

Scenario: TFS 2010 has been installed onto a SQL Server 2008 Enterprise Evaluation in the production environment (not by me!). Additionally, we’re using Sql Server Reporting Services and SQL Server Analysis Services along with the excellent Agile ScrumforTeamSystem template from … Continue reading

Posted in Team Foundation Server 2010 | Tagged , , | 1 Comment

TFS 2010 Move from SQL Server Enterprise Evaluation 2008 to SQL Server Standard 2008 – Part 2

As you should have seen from part 1, the migration of TFS, if you’re using Reporting Services and Analysis Services is a little fiddly but possible. This second part explains the steps taken to upgrade SQL Server 2008 Enterprise Evaluation … Continue reading

Posted in Team Foundation Server 2010 | 1 Comment