How do you hook an editor for TFS 2010 WF BuildProcessTemplate arguments for built-in types that have a converter?

一世执手 提交于 2019-12-22 12:34:24

问题


I've followed the Team Foundation Server 2010 book's custom editor for a dictionary<string,string> and can't get it to go. I have another custom editor in the same assembly, and consumed by the same build template that works.

This SO hints at it being a TypeConverter issue, but I don't think any part of a custom build assembly is just run when it is loaded.

I'm getting the default generic Collection Editor instead of mine.

I have tried using code more like my credential UITypeEditor uses, and then tried typing exactly what's in the book for a UITypeEditor. The dialog itself should not matter unless it was throwing an exception, but I'd think that would popup somewhere visible rather than just loading the default editor.


回答1:


It is probably because the IDE is not able to find your custom type. I hit the same issue last year - http://www.neovolve.com/post/2010/06/24/Full-support-for-custom-types-in-TFS-Build-2010-build-definition-editor.aspx. Try putting your custom assembly into the Visual Studio PrivateAssemblies directory and the recycle the IDE.



来源:https://stackoverflow.com/questions/6141010/how-do-you-hook-an-editor-for-tfs-2010-wf-buildprocesstemplate-arguments-for-bui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!