C
C#4w ago
TBB#0342

Custom Controls won't show in XAML Designer when referenced via .dll

Dear C#-Community, Currently, I was implementing custom WPF controls. These custom controls have their own style, which are referenced in the Themes/Generic.xml file. However, when I build the .dll file of the custom control library and reference it in a new project, the designer won't show the custom controls, but they are definitely there. I would see them, if I start the project. I tried different approaches like setting additional attributes, do configurations in the assemblyInfo.cs but nothing works. I am quite clueless now. Thank you for your time.
2 Replies
plamen.berberov
You can text me. I have professional experience with WPF. Lately I haven't had any projects using it but I can still be of help
Hannsen
Hannsen3w ago
Did you try, close VS, delete obj and bin directories in both projects. - Open CustomControl project, rebuild in Debug and Release, open WPF project, rebuild. - After rebuild, does the designer show something?
Want results from more Discord servers?
Add your server