Click here to Skip to main content
16,010,464 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when I load the project eror is
Assembly 'abc' was not found. Error on line
xmlns:abc="clr-namespace:abc;

HTML
    <Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xml:lang="en-US"
        xmlns:abc="clr-namespace:abc"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2006"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        xmlns:local="clr-namespace:abc"
        x:Class="abc.Window1"
        x:Name="Window"
        Title="smart planner" >
</window>
Posted
Updated 13-Oct-11 20:45pm
v6

1 solution

No wonder. Where is this "clr-namespace" declared?

Go to the root tag ("Window") and type "xmlns:". Intellisense will show you the list of namespaces you can add to this XML. Of course, you need to reference all assemblies you plan to use in XAML in your assembly before doing it. By that moment, you should also know a .NET namespace name to be used.

—SA
 
Share this answer
 
Comments
Mehdi Gholam 14-Oct-11 2:36am    
my 5!
Sergey Alexandrovich Kryukov 14-Oct-11 2:39am    
Thank you, Mehdi.
Pretty simple, isn't it?
--SA
Mehdi Gholam 14-Oct-11 2:43am    
Well not to me! I don't like WPF :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900