I'm currently working on a big project for a company and I'm stuck. We use TFS 2012, we have several branches (Dev => Main => pre-prod => prod).
When a project is in prod, if a bug occurs, we do a patch. It means we only deliver DDLs that are impacted by the bug's correction.
To do it, the developer in charge of the bug's correction check-in his code, and gives me the changeset number so I can know what are the files impacted by the checkin and deduce the dlls that need to be delivered.
And my problem is here, how can I know these DLLs names thanks to the changeset number? I'm currently parsing all the .csproj and I'm looking if the files that are in the changeset log are present in the csproj. If yes, then I'm looking for the AssemblyName (which gives me the DLL's name).
But this is not good to me since I'm parsing it as a String, it's not relyable and not evolutive.
If you have any better way (or even something already written :) ) go for it please ;)
Thanks !