【发布时间】:2016-08-06 22:50:22
【问题描述】:
我刚刚从 GitHub 安装了 MahApps
https://github.com/MahApps/MahApps.Metro
我立即收到错误消息。在 MainWindow.xaml 中,以下行带有下划线
d:DataContext="{d:DesignInstance MetroDemo:MainWindowViewModel}
并且有几个错误信息,比如:
The name "MainWindowViewModel" does not exist in the namespace "cld-namespace:MetroDemo".
The name "ButtonsExample" does not exist in the namespace "clr-namespace:MetroDemo.ExampleViews".
项目确实运行了,但我无法检查任何设计。
有没有人遇到过这种情况并设法解决?
【问题讨论】:
标签: mahapps.metro