How to get `SourceDir` folder and `Drop Folder` while in C# customized activity code of TFS 2012 build process template?

StackOverflow https://stackoverflow.com/questions/21085091

سؤال

I'm writing a customized activity for TFS build process workflow, e.g. guideline here.

In my C# CodeActivity .Execute() method, I want to access to SourceDir folder and Drop Folder.

How can I do that?

هل كانت مفيدة؟

المحلول

Pass the information which you need as arguments, e.g. SourcesDiriectory for your SourceDir and BuildDetail.DropLocation for your DropFolder to your activity.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top