none
TFS 2010 custom activity error

All replies

  • Hi,

    According to Blog author reply to the same question, variable SourceDirectory is set in "Run On Agent" activity. SourceDirectory = String.Format("{0}\Sources", BuildDirectory)  While BuildDirectory is set in build agent properties, "Working Directory".  Please check the settings over there.

    best regards,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Wednesday, May 30, 2012 2:51 PM
    Moderator
  • Hi,

    As I understand you are getting error in UpdateVersionInfo custom activity. Default build template has one variable SourceDirectory and also UpdateVersionInfo activity has input argument SourceDirectory.

    So set SourceDirectory (UpdateVersionInfo input argu) = SourceDirectory (Variable) in UpdateVersionInfo property window.

    By above assignment, I hope every thing start working fine.

    For more information please refer below link: -

    http://social.msdn.microsoft.com/Forums/is/tfsbuild/thread/3e21bfc0-38d4-4b7a-bc48-af7b52938f5a

    Thursday, August 16, 2012 1:14 PM