# Can't registrated panel in rhino C#

**URL:** <https://discourse.mcneel.com/t/cant-registrated-panel-in-rhino-c/110756>\
**Category:** Rhino Developer\
**Tags:** rhino6\
**Created:** [October 21, 2020, 7:05pm UTC](https://discourse.mcneel.com/t/cant-registrated-panel-in-rhino-c/110756 "2020-10-21T19:05:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stritfotospb](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stritfotospb/32/254873_2.png) [@stritfotospb](https://discourse.mcneel.com/u/stritfotospb)\
**Post date:** [October 21, 2020, 7:05pm UTC](https://discourse.mcneel.com/t/cant-registrated-panel-in-rhino-c/110756/1 "2020-10-21T19:05:23Z")

</div>

**Dear all!**  
I am a biginer in Rhino plugin developing and i have some problems with registrating the panel.  
Could you, please explain to me how I could solve this exception: "System.ArgumentException: “type must have a GuidAttribute”  
I have found a lot of examples and generated a guid.code but this exception still happens.  
Thank you

Denis K.

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/772741_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [October 21, 2020, 7:39pm UTC](https://discourse.mcneel.com/t/cant-registrated-panel-in-rhino-c/110756/2 "2020-10-21T19:39:50Z")

</div>

Hi @stritfotospb,

Add something like this to your panel definition:

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/1/018f8d39faab23597fbc4c3f417d5acd381b0e17.png)

[SampleCsEtoPanel.cs](https://github.com/mcneel/rhino-developer-samples/blob/6/rhinocommon/cs/SampleCsEto/Views/SampleCsEtoPanel.cs)

– Dale

---

<div class="post-metadata">

**Author:** ![stritfotospb](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stritfotospb/32/254873_2.png) [@stritfotospb](https://discourse.mcneel.com/u/stritfotospb)\
**Post date:** [October 22, 2020, 7:38pm UTC](https://discourse.mcneel.com/t/cant-registrated-panel-in-rhino-c/110756/3 "2020-10-22T19:38:15Z")

</div>

Thanks a lot!
