MaterialDesignInXAML/MaterialDesignInXamlToolkit

Unable to cast object of type 'Mocks.MaterialDesignDemo_ColorToolViewModel_2_47133230' to type 'System.Windows.Media.SolidColorBrush'.

Open

#1.411 geöffnet am 11. Sept. 2019

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (3.500 Forks)batch import
Hacktoberfestdemo appgood first issueup-for-grabs

Repository-Metriken

Stars
 (16.143 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 20h 25m) (8 gemergte PRs in 30 T)

Beschreibung

Hi

After downloading the source code, I installed .netcore3.0 and .net 4.7.2. After running with vs2019, the demo can run normally but the WPF view page is prompted to report an error. The screenshot is as follows. What is the reason? Is there a library missing?

Error message

Unable to cast object of type 'Mocks.MaterialDesignDemo_ColorToolViewModel_2_47133230' to type 'System.Windows.Media.SolidColorBrush'. MaterialDesignDemo ColorTool.xaml 1

image

Contributor Guide