WPF设计器:无法加载文件或程序集“...”或其依赖项之一 [英] WPF designer:Could not load file or assembly"..."or one of its dependencies

查看:90
本文介绍了WPF设计器:无法加载文件或程序集“...”或其依赖项之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序运行没有任何问题,但我无法编辑应用程序的主窗体。



当我尝试编辑主窗体窗体时出现以下错误。



无法加载文件或程序集Dmd.Image,Version = 3.6.0.0,Culture = neutral,PublicKeyToken = null或其中一个依赖项。系统找不到指定的文件。



程序集Dmd.Image链接到两个非托管DLL。我假设问题是Designer无法找到这些Dll之一。



如何让Designer看到非托管DLL?



如何找出找不到的文件?

解决方案

参考
$ b $给出的解决方案b 为什么做-the-WPF的设计者失效到负载的库 - 即呼叫 - 进入 - 非托管的dll

The application runs without any problems but I cannot edit the application' main form.

I am getting the following error when I try to edit the main windows form.

Could not load file or assembly "Dmd.Image, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null" or one of its dependencies. The system cannot find the file specified.

The assembly Dmd.Image links to two unmanaged DLLs. I am assuming the problem is that the Designer cannot find one of these Dlls.

How can I get the Designer to see the unmanaged DLLs?

How can I find out what file it cannot find?

解决方案

Refer the solution given at
why-does-the-wpf-designer-fail-to-load-libraries-that-call-into-unmanaged-dlls


这篇关于WPF设计器:无法加载文件或程序集“...”或其依赖项之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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