TFS build – post build cleanup – recursively delete wildcard files using MSBuild.proj

I have seen many requests over the years asking for help in doing post build cleanup for TFS Build. There are many approaches for achieving this. Each has it’s own pros and cons. I would lean towards simplicity of approach and maintenance. Assuming that you have to delete all dll’s that start with test. Modify…

1

Converting objectSid to string

I was writing a tool yesterday that involved mucking with Active Directory and such. During the process I realized that I needed to save the objectSid of the user for later use. AD defines this property as “Octet string” saved as bytes. Following the general wisdom and internet advices to convert this byte array into…

2