找不到类型或命名空间名称(您是否缺少using指令或程序集引用

时间:2013-07-04 06:11:29

标签: wpf xaml

我已经从互联网下载了一个项目,当试图包含到我的主项目它显示Clr命名空间错误请帮助我我已经添加了dll文件参考我该怎么办?它在SiriusMicrotech clr名称空间中显示错误..

//My Coding//



<Page x:Class="RTBSPROJECT.Point_Of_Sale.Invoice"
      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:ig="http://schemas.infragistics.com/xaml" 
       xmlns:SiriusMicrotech="clr-namespace:SiriusMicrotech.core.UI"

      mc:Ignorable="d" 

    Title="Invoice"  >
    enter code here

   <Page.Resources>


 <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Point Of Sale\TouchStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
</page.Resources>

1 个答案:

答案 0 :(得分:0)

您还需要在使用除当前程序集以外的程序集

时指定程序集以及命名空间
xmlns:SiriusMicrotech="clrnamespace:SiriusMicrotech.core.UI;assembly=AssemblyName....."

我希望这会有所帮助。

相关问题