0

尝试包含到我的主项目时,我从 Internet 下载了一个项目它显示 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>
4

1 回答 1

0

嗨,当您使用当前程序集以外的程序集时,您还需要指定程序集以及命名空间

xmlns:SiriusMicrotech="clrnamespace:SiriusMicrotech.core.UI;assembly=AssemblyName....."

我希望这将有所帮助。

于 2013-07-04T08:48:37.177 回答