Team System Developer Center >
Visual Studio Team System Forums
>
Team Foundation Server - Work Item Tracking
>
(TF210004) Custom Control not working anymore (VS2010 Beta 1 -> Beta 2)
(TF210004) Custom Control not working anymore (VS2010 Beta 1 -> Beta 2)
- Hey,
I have a project with a few custom controls. At the moment we are using two of them.
Both are almost the same. One is a simple checkbox, just saving a "yes" or "no" value. The other one is almost the same, just uses a graphic instead of the checkbox (and saves some other data, too).
The one with the graphic is still working without a problem, but the simple checkbox is not. I always get this error:
TF210004: The control could not be loaded from the assembly.
I found some threads about the same error with the update from 2005 to 2008, the solution was to recompile the project with the new version of VS. But I already recompiled it with VS2010 Beta 2... no help.
Any ideas?
Answers
- Hi Hongye,
I already tried to replace the references, that did not work. And other (more complexe) custom controls in the same project did work.
I was able to solve the problem now by just creating a new custom control in the same project, copied and pasted the code and design. Same code, same project, but now it works.
But thanks for your help. :)- Marked As Answer byHongye SunMSFT, ModeratorMonday, November 09, 2009 6:10 AM
All Replies
- Hi Feroc,
Thanks for reporting this issue. However, I don't find any bug related this in VS2010.
When you say: "the solution was to recompile the project with the new version of VS", do you mean that you have replaced all the referenced TFS dlls to new version?
Please read Naren's Blog for detail: http://blogs.msdn.com/narend/archive/2007/08/23/how-to-port-whidbey-custom-controls-to-orcas.aspx
Hope it helps.
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Sorry, you misunderstood me. The solution I found for VS2005 to 2008 was to recompile it (exactly the link you gave me), but that did not help me.
- Hi Feroc,
Sorry for my confusing reply. What I mean is that you should replace all the referenced TFS dlls to new version in 2010.
Please let me know if you still have this issue after you changed the TFS dll references. Thanks.
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Hi Hongye,
I already tried to replace the references, that did not work. And other (more complexe) custom controls in the same project did work.
I was able to solve the problem now by just creating a new custom control in the same project, copied and pasted the code and design. Same code, same project, but now it works.
But thanks for your help. :)- Marked As Answer byHongye SunMSFT, ModeratorMonday, November 09, 2009 6:10 AM


