Wpf 找不到元素/属性xxx XAML的架构信息

Wpf 找不到元素/属性xxx XAML的架构信息,wpf,visual-studio,xaml,uwp,Wpf,Visual Studio,Xaml,Uwp,我有180条信息,比如: 找不到元素“”的架构信息http://schemas.microsoft.com/winfx/2006/xaml/presentation:VisualStateGroup' 所有这些消息都在我的uwp UI的xaml文件中。我是否应该忽略它们,或者如何消除它们。存在现有的http://schemas.microsoft.com/winfx/2006/xaml/presentation您无法添加VisualStateGroup 如果您编写xmlns=”http://sc

我有180条信息,比如:

找不到元素“”的架构信息http://schemas.microsoft.com/winfx/2006/xaml/presentation:VisualStateGroup
'


所有这些消息都在我的uwp UI的xaml文件中。我是否应该忽略它们,或者如何消除它们。

存在现有的
http://schemas.microsoft.com/winfx/2006/xaml/presentation
您无法添加
VisualStateGroup

如果您编写
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation"
在xmlns中,它会显示错误

但是如果一段时间vs没有清理Bin文件夹和Obj文件夹,可能会出现奇怪的问题

我想你可以先检查nuget找到合并,第二种方法是清理bin文件夹和obj文件夹

尝试更新vs可能会解决它

您应该设置文件的权限以查看其属性,即编译选项是正确的

见: