There is a problem in new version with icons from materialdesign pack
<wpf:PackIcon Kind=“AccountOutline” Grid.Row=“0” Grid.Column=“0” VerticalAlignment=“Center”/>
App crash at runtimeWPFApplication2.zip (31.5 KB)
There is a problem in new version with icons from materialdesign pack
<wpf:PackIcon Kind=“AccountOutline” Grid.Row=“0” Grid.Column=“0” VerticalAlignment=“Center”/>
App crash at runtimeWPFApplication2.zip (31.5 KB)
Any more details on that?
New app, add reference to NuGet MaterialDesignThemes.Wpf - latest stable, add namespace to main window
xmlns:wpf=“clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf”
add icon
<wpf:PackIcon Kind=“AccountOutline” Grid.Row=“0” Grid.Column=“0” VerticalAlignment=“Center”/>
Runtime
A callout exception has been reported to the target. (google translate from polish)
Last working version is 2309.
Once again, can you check the type/message of the InnerException? TargetInvocationExceptions are always useless, as they wrap/hide a real exception.
I don’t see hera any option of getting more info
Don’t know what is gonig on, but now on 2309 the same
Check the Locals panel, there should be an entry $Exception
that you can expand like any other local var. It has an InnerException
sub-property.
Can’t load MahApps.Metro it’s strange - wait a moment - I’ll remov it all and install one more time…
Sorry…
InnerException = null reference exception
Add NuGet MaterialDesignThemes.MahApps to empty app - it will add all needed refs.
Hmm, if i add that reference to your project, it fails with
E: Unknown type “{clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf}PackIcon” [C:\Users\mh\Downloads\WPFApplication2\WPFApplication2\Window1.xaml (9)]
Thanks, logged as bugs://80917
bugs://80917 got closed with status fixed.