locked
SOLUTION "XAML Namespace http://schemas.microsoft.com/expression/blend/2008 is not resolved" RRS feed

  • General discussion

  • This error has been mentioned before, but that was specific to a missing "mc:Ignorable='d'" tag as pointed out here: http://www.laumania.net/post/A-possible-solution-to-the-error-e2809cXAML-Namespace-httpschemasmicrosoftcomexpressionblend2008-is-not-resolvede2809d.aspx

    I came across this issue today as well, but the mc:Ignorable tag was there and all the syntax was fine... my code was deriving from an existing control and didn't have any content within the parent node. It didn't occur to me immediately but blend or VS2010, not sure really, had collapsed the node to effectively one long node entry. While this is still valid XML, the compiler seemed to complain. See example:

    <telerik:RadRibbonBar
    
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    
     xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar"
    
     mc:Ignorable="d"
    
          x:Class="MyApplication.Toolbar"
    
          ApplicationName="{Binding ApplicationStrings.ApplicationName, Source={StaticResource ResourceWrapper}}" 
    
          QuickAccessToolBarPosition="NotHosted" IsMinimizable="False" IsMinimized="True" 
    
          FontFamily="/MyApplication;component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333" d:DesignHeight="53" d:DesignWidth="600" />
    
    
    
    

     

    After putting a comment, or anything really, inside the node the compiler continued without any errors...

    <telerik:RadRibbonBar
    
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    
     xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar"
    
     mc:Ignorable="d"
    
          x:Class="MyApplication.Toolbar"
    
          ApplicationName="{Binding ApplicationStrings.ApplicationName, Source={StaticResource ResourceWrapper}}" 
    
          QuickAccessToolBarPosition="NotHosted" IsMinimizable="False" IsMinimized="True" 
    
          FontFamily="/MyApplication;component/Fonts/Fonts.zip#Segoe UI" FontSize="13.333" d:DesignHeight="53" d:DesignWidth="600">
    
     <!--
    
     Puting a comment here to prevent the designer from closing the node...
    
     -->
    
    </telerik:RadRibbonBar>
    
    
    Just thought I'd share since I didn't see this mentioned when I did my searching...

     

    • Edited by Rgbysgt Wednesday, July 14, 2010 9:08 PM security
    • Changed type Rgbysgt Wednesday, July 14, 2010 9:09 PM
    Wednesday, July 14, 2010 9:06 PM