Controls invisible in .NET 5

2 Answers 55 Views
General Discussions Installer and Visual Studio Extensions
Marcel
Top achievements
Rank 1
Iron
Marcel asked on 20 May 2021, 12:44 PM | edited on 20 May 2021, 12:45 PM

Hi,

I created a new net5.0 WPF application in Visual Studio (16.9.6) and installed the Progress UI for WPF Extension. I added the Telerik Nuget source and installed the package "Telerik.UI.for.Wpf.NetCore.Xaml". I added the Telerik namespace (http://schemas.telerik.com/2008/xaml/presentation) to my main view and I am able to add controls from that namespace in the XAML code just fine including Intellisense support. I also see all the Telerik controls in the VS Toolbox and I can drag controls onto my view in the designer.

But, all the controls are invisible in the designer and also at runtime. No errors during design time or compilation whatsoever. Seems like there is no default theme applied at all. I already tried to explicitly set a theme but all the controls stay invisible. Default WPF controls work without any issue...

I've been working with Telerik and WPF for 10 years now and I never had a similar issue so far. Docs and forums did not lead me on the right trace unfortunately. Help would be much appreciated!

Thanks!

2 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 20 May 2021, 01:15 PM

Hello Marcel,

You can find information about this issue in the Missing Controls in the UI article.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Marcel
Top achievements
Rank 1
Iron
answered on 20 May 2021, 01:16 PM

To answer my own question: this issue was caused by a licensing/security "feature". I missed the part of the docs that mentioned how an encrypted password in the Nuget.config is currently not supported (or can cause issues). As soon as I set the password in clear, the controls showed up just fine. Would be nice if Telerik threw some kind, any kind of exception or warning or notification in that case. I was completely lost for two hours until I read the docs for the 10th time and figured the thing with the password out finally... 

Tags
General Discussions Installer and Visual Studio Extensions
Asked by
Marcel
Top achievements
Rank 1
Iron
Answers by
Martin Ivanov
Telerik team
Marcel
Top achievements
Rank 1
Iron
Share this question
or