找不到程序集"abc" [英] Assembly 'abc' was not found

查看:78
本文介绍了找不到程序集"abc"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我加载项目错误时,是
找不到

when I load the project eror is

Assembly 'abc' was not found. Error on line
xmlns:abc="clr-namespace:abc;


    <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>

推荐答案

难怪.此"clr-命名空间"在哪里声明?

转到根标记("Window"),然后键入"xmlns:". Intellisense将向您显示可以添加到此XML的名称空间列表.当然,您需要先在程序集中引用计划在XAML中使用的所有程序集.到那时,您还应该知道要使用的.NET名称空间名称.

—SA
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


这篇关于找不到程序集"abc"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆