WPF设计器:无法加载文件或程序集“...”或其依赖项之一

编程入门 行业动态 更新时间:2024-10-28 14:27:04
本文介绍了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设计器:无法加载文件或程序集“...”或其依赖项之一

本文发布于:2023-11-03 06:17:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1554426.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:或其   加载   文件   程序   WPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!