TFS 2010 Custom Build Activity TF215097 error

前端 未结 6 363
感动是毒
感动是毒 2020-12-16 13:50

For the Build Process in TFS 2010 I\'ve created a library containing some custom code activities. In the past it all worked fine by adding the library (*.dll) to Source Con

6条回答
  •  隐瞒了意图╮
    2020-12-16 14:32

    I didn't find an answer to this problem up today, so probably this answer will arrive too late for some of you.

    I was really stuck trying to do the same from GAC, modifying namespace declaration and i always was finding the famous "Cannot create unknown type '{clr-namespace:bla,bla,bla". Modifying all build templates each time you can add a new assembly is a painful and annoying experience. I've experienced some issues by setting assembly in GAC, it looks like there is some kind of cache because custom activities were not refreshed even if i uninstalled and reinstalled assembly from GAC,

    Finally, I found in http://msdn.microsoft.com/en-us/library/ee330987.aspx that you can add custom assemblies with custom activities by adding them to Source Control and setting control path for custom assemblies in Build Controller Properties (you can access from Team Foundation Administration Console --> Build Configuration --> Controller Properties)

    You Just need to add your assemblies to source control and TFS will take care about everything.

    | improve this answer | |

提交回复
热议问题