MaterialDesignInXAML/MaterialDesignInXamlToolkit

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

Open

#1,411 建立於 2019年9月11日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C# (3,500 fork)batch import
Hacktoberfestdemo appgood first issueup-for-grabs

倉庫指標

Star
 (16,143 star)
PR 合併指標
 (平均合併 20小時 25分鐘) (30 天內合併 8 個 PR)

描述

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

貢獻者指南