xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.9k stars 877 forks source link

Cannot locate resource 'themes/aero2/brushes.xaml / Dotnet 4.7 #1237

Open CD4443 opened 6 years ago

CD4443 commented 6 years ago

Steps to reproduce:

-Create new WPF User Control Library Project -Add nuget Package V 3.2 -Open UserControl.xaml -Add xmlns:wpftc="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit" -Add to Layout root

Now you can see the Control in Designer Window

-Set Target Framework to 4.7

Now the Designer Shows the Error message: Cannot locate resource 'themes/aero2/brushes.xaml

XceedBoucherS commented 6 years ago

Hi,

the xmlns contains "wpftc" while the DoubleUpDown control is from "xctk". I believe the same prefix should be used everywhere.

What version of Windows are you using ? On Windows10 and with VS2017 targeting framework 4.7, I don't see any error and the designer displays correctly the DoubleUpDown control.

CD4443 commented 6 years ago

Hi,

the namespaces are the same (see Screenshot). Windows version is 1703 Build 15063.786.

Von: XceedBoucherS [mailto:notifications@github.com] Gesendet: Montag, 8. Januar 2018 17:20 An: xceedsoftware/wpftoolkit wpftoolkit@noreply.github.com Cc: CD4443 g.brust@chips-at-work.de; Author author@noreply.github.com Betreff: Re: [xceedsoftware/wpftoolkit] Cannot locate resource 'themes/aero2/brushes.xaml / Dotnet 4.7 (#1237)

Hi,

the xmlns contains "wpftc" while the DoubleUpDown control is from "xctk". I believe the same prefix should be used everywhere.

What version of Windows are you using ? On Windows10 and with VS2017 targeting framework 4.7, I don't see any error and the designer displays correctly the DoubleUpDown control.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xceedsoftware/wpftoolkit/issues/1237#issuecomment-356014320 , or mute the thread https://github.com/notifications/unsubscribe-auth/AhCrUQX6Uv4dxazwb2bIe0M-nRk3WQVaks5tIkBIgaJpZM4RFQrr . https://github.com/notifications/beacon/AhCrUZL-KIDOltt-teHgmuuUZ3SrZqX-ks5tIkBIgaJpZM4RFQrr.gif