MaterialDesignInXAML/MaterialDesignInXamlToolkit

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

开放

#1,411 创建于 2019年9月11日

 (7 条评论) (0 个反应) (0 位负责人)C# (3,500 个派生)batch import
Hacktoberfestdemo appgood first issueup-for-grabs

仓库指标

星标
 (16,143 个星标)
PR 合并指标
 (平均合并 2天 7小时) (30 天内合并 9 个 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

贡献者指南