我正在使用Visual Studio 2010 Express,在C#中的Silverlight 4项目上工作.这突然在我的项目中开始,我得到这个XAML命名空间未解决的错误:
XAML Namespace http://schemas.microsoft.com/winfx/2006/xaml is not resolved@H_403_4@如果它有帮助,这里是XAML文件中出现错误的部分:
<ResourceDictionary xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:GetGlue="clr-namespace:GetGluePlugin;assembly=GetGluePlugin" xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:utils="clr-namespace:Seesmic.Sdp.Utils;assembly=Seesmic.Sdp.Utils">@H_403_4@问题是什么?
解决方法
这是你看到的吗
@H_403_4@http://laumania.net/2010/06/21/a-possible-solution-to-the-error-xaml-namespace-httpschemas-microsoft-comexpressionblend2008-is-not-resolved/
@H_403_4@… 或这个…
@H_403_4@http://social.expression.microsoft.com/Forums/en/blend/thread/e180becd-5e59-4b1d-bd06-9a9547b4e68f
@H_403_4@两者都涉及到移除属性并打破XAML的混合.它删除(或忘记添加)mc:Ignorable =“d”属性到UserControls.