Category Archives: Software Development

Custom MSBuild Task and capturing Command Line Output

I recently had a need to “capture the output” of a command line tool, but within a MSBuild Custom Task (context). While I know there are “msbuild’ish” ways to accomplish the below example (getting a list of directories from a … Continue reading

Posted in Software Development | Leave a comment

How to find References in a C# Project File (.csproj) using LINQ (Xml)

I was asked to “Generate a report of all our c# projects and their dependencies. :< So instead of going through 333+ csprojs manually, it was time to write a helper routine to look through the .csproj xml. And instead … Continue reading

Posted in Software Development | 3 Comments

Create a COM+ Application with Powershell

$comAdmin = New-Object -comobject COMAdmin.COMAdminCatalog $apps = $comAdmin.GetCollection(“Applications”) $apps.Populate(); $newComPackageName = “MyFirstCOMPackage” $appExistCheckApp = $apps | Where-Object {$_.Name -eq $newComPackageName} if($appExistCheckApp) { $appExistCheckAppName = $appExistCheckApp.Value(“Name”) “This COM+ Application already exists : $appExistCheckAppName” } Else { $newApp1 = $apps.Add() $newApp1.Value(“Name”) = … Continue reading

Posted in Software Development | Leave a comment

Bug in Documentation : Microsoft Access Database Engine 2010 Redistributable

Microsoft Access Database Engine 2010 Redistributable http://www.microsoft.com/downloads/en/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en There is a bug in the documentation at the download page. The documentation says:1.If you are the user of an application, consult your application documentation for details on how to use the appropriate … Continue reading

Posted in Software Development | 6 Comments

RANT : Hard Coded Security Roles

:::::::::::sigh::::::::::::: If I come across one more hard coded security roles brownfield application, I think I’m gonna throw my chair out the window. Today, I came across an application that does type-checking to determine security. The code goes something like … Continue reading

Posted in Software Development | 2 Comments

CruiseControl.NET / header.xsl / and DiskSpace

I had a nice situation today.After a code check-in to SVN, CruiseControl.NET reported an error. The culprit?? No more disk space. The error is seen below.  "Out of space" isn’t mentioned, thus why I am posting this.But it makes sense, … Continue reading

Posted in Software Development | 2 Comments

Rule of 5 : Better machines for Developers

I have just invented the "Rule of 5" when it comes to justifying a computer upgrade for a developer. 5 compiles an hour (when you’re actually developing code (like you love to do) and not in some meeting).Each compile saves … Continue reading

Posted in Software Development | 1 Comment