本文介绍了XAML命名空间http://schemas.microsoft.com/winfx/2006/xaml没有得到解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2010的前preSS,工作在C#中的Silverlight 4项目。这开始发生突然在我的项目,我得到的错误,这XAML命名空间没有解决:

I'm using Visual Studio 2010 Express, working on a Silverlight 4 project in C#. This started happening all of a sudden in my project, I get the error that this XAML Namespace is not resolved:

XAML Namespace http://schemas.microsoft.com/winfx/2006/xaml is not resolved

如果有帮助,这里是正在被引发错误的XAML文件的部分:

If it helps, here is the section of the XAML file in which the error is being raised:

<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">

还有什么问题呢?

What could the problem be?

推荐答案

这是你看到的...

<一个href="http://laumania.net/2010/06/21/a-possible-solution-to-the-error-xaml-namespace-httpschemas-microsoft-comex$p$pssionblend2008-is-not-resolved/" rel="nofollow">http://laumania.net/2010/06/21/a-possible-solution-to-the-error-xaml-namespace-httpschemas-microsoft-comex$p$pssionblend2008-is-not-resolved/

...或者这...

... or this...

<一个href="http://social.ex$p$pssion.microsoft.com/Forums/en/blend/thread/e180becd-5e59-4b1d-bd06-9a9547b4e68f" rel="nofollow">http://social.ex$p$pssion.microsoft.com/Forums/en/blend/thread/e180becd-5e59-4b1d-bd06-9a9547b4e68f

都涉及混合移除属性和破坏你的XAML。它消除(或者忘记补充)的MC:可忽略=D属性用户控件

Both relate to Blend removing an attribute and breaking your XAML. It removes (or forgets to add) the mc:Ignorable="d" attribute to UserControls.

这篇关于XAML命名空间http://schemas.microsoft.com/winfx/2006/xaml没有得到解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 02:23