【发布时间】:2012-10-17 04:52:56
【问题描述】:
我正在学习如何创建Class Library (Windows Store apps) 并使用UserControl 模板向其中添加用户控件。
然后我在随附的 XAML 中添加了一个 Grid 标记。但是,标签带有蓝色波浪线下划线,当我将鼠标悬停在标签上时,
Windows Presentation Foundation (WPF) 项目不支持网格
工具提示出现。
该库似乎构建没有错误。我已将该库添加到应用程序并在其代码中使用该控件。该应用程序也构建得很好。但是,当我运行应用程序时,我得到了XamlParseException 异常。
我正在使用 Visual Studio 2012 RTM。库和应用程序都只引用了两个标准程序集(.NET for Windows Store apps 和 Windows)。
我可能做错了什么,我应该如何修复库?
【问题讨论】:
标签: c# .net wpf visual-studio