问题描述
在我的csharp应用程序中,当我尝试使用
加载名为mytest.dll的dll时
汇编a = Assembly.LoadFrom(mytest.dll);
显示错误,例如
无法加载文件或程序集'file:/// C:\Users\DEVP \Documents\Visual Studio 2008 \Projects \ConsoleApplication1 \ConsoleApplication1 \ bin \ Release.com mytest.dll'或其依赖项之一。系统找不到指定的文件。
i将mytest.dll复制到C:\ Users \ DEVP \Documents \ Visual Studio 2008 \Projects \ConsoleApplication1 \ConsoleApplication1 \ bin \ Release \
还...
Hi,
In my csharp application when i tried to load a dll called mytest.dll by using
Assembly a = Assembly.LoadFrom("mytest.dll");
It show an error like
Could not load file or assembly 'file:///C:\Users\DEVP\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\bin\Release\mytest.dll' or one of its dependencies. The system cannot find the file specified.
i copied mytest.dll to C:\Users\DEVP\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\bin\Release\
also...
这篇关于在runntime上加载mytest.dll时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!