Not displayed at xaml Design time in visual studio 2022

1 Answer 1303 Views
Installer and Visual Studio Extensions
Dooly
Top achievements
Rank 1
Iron
Dooly asked on 16 Feb 2022, 05:19 AM

Hi,

Xaml designer can't displayed content in the runtime design mode

but,  complie and excute all OK

The VS2019 project was made with WPF R3 2020, updated to WPF R1 2022  with VS2022 and compiled.

when installing wpf r1 2022, the installation folder was designated separately, and framework 4.6.2 was used.

Also, i tried to create a new one using the telerik template tool in vs2022 and tried it with

telerik ui for wpf->confiure project or upgrade wizard in 2019 existing project, but it didn't work.

 

1 Answer, 1 is accepted

Sort by
0
Nikolay Mishev
Telerik team
answered on 16 Feb 2022, 09:32 AM

Hello,

Thank you for writing to us.

It seems that there is a missing reference to Telerik.Windows.Themes.Expression_Dark.dll in your project, so please add the reference and check if the issue persists.

Here is an article that might be useful when dealing with design-time issues - https://docs.telerik.com/devtools/wpf/common-information/troubleshooting/design-time-errros

I hope the provided information helps.

Regards,
Nikolay Mishev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Dooly
Top achievements
Rank 1
Iron
commented on 17 Feb 2022, 08:12 AM

hi,

A problem occurred when using it with fody.costura.

In vs2019, there was no problem after telerik update,

but in vs2022, strangely, the dll files had to be excluded from costra.

thanks,

 

 

Martin Ivanov
Telerik team
commented on 18 Feb 2022, 11:15 AM

The Telerik product was never tested with the Fody Costura library, so we cannot guarantee that it will work properly there. Can you tell me what is the exact issue with the Telerik dll? Is there any error message or something similar?

In the meantime, as an alternative solution, instead of using the Telerik theme dll, you can copy the .xaml files directly in your project and reference them as shown in the Setting a Theme article. Note that you will need to copy the new Telerik .xaml files each time you upgrade the Telerik dlls to a newer version.

Tags
Installer and Visual Studio Extensions
Asked by
Dooly
Top achievements
Rank 1
Iron
Answers by
Nikolay Mishev
Telerik team
Share this question
or