Hi friends,
I am trying to build an application, where i was ended up with the following error
Error:
Assembly must be specified for XAML files that are not part of a project. Reopen this XAML file after adding it to a project, close this file and reopen it using the project it is associated with, or modify the clr-namespace to include the name of the assembly.
My code snippet is
<StackPanel
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ABC.XXX.YYY.Silverlight.Controls"
xmlns:login="clr-namespace:ABC.XXX.YYY.Silverlight.LoginUI"
x:Class="ABC.XXX.YYY.Silverlight.LoginUI.LoginForm"
KeyDown="LoginForm_KeyDown"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=login:LoginInfo}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<local:BusyIndicator x:Name="busyIndicator" BusyContent="{Binding Path=ApplicationStrings.BusyIndicatorLoggingIn, Source={StaticResource ResourceWrapper}}" IsBusy="{Binding IsLoggingIn}">
<StackPanel Orientation="Vertical">
<local:CustomDataForm x:Name="loginForm"
Padding="10,0,10,0"
CurrentItem="{Binding}"
IsEnabled="{Binding IsLoggingIn, Converter={StaticResource NotOperatorValueConverter}}" AutoEdit="True" CommandButtonsVisibility="None" HeaderVisibility="Collapsed" AutoGeneratingField="LoginForm_AutoGeneratingField" Style="{StaticResource LoginDataFormStyle}" /> </StackPanel>
In the above code,
xmlns:local="clr-namespace:ABC.XXX.YYY.Silverlight.Controls"
xmlns:login="clr-namespace:ABC.XXX.YYY.Silverlight.LoginUI"
is showing the above mentioned error.
I googled about the error, they are asking to add a reference.
If I should, where would i get appropriate reference library in my application?
Please help me ASAP.
Any ideas will be greatly appreciated.