myProgram.exe 파일을 찾을 수있는 "obj \ x86 \ Debug"에서 C# 콘솔 응용 프로그램을 공유하기위한 .exe를 가져 오려고합니다. 이 프로그램은 내가 루트에서 만든 "\ lib 디렉토리 \"폴더에 저장 한 DLL을 사용DLL을 사용하는 프로젝트를 내보내는 중?
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly
'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies.
The system cannot find the file specified.
at Project.MyClass..ctor(String arg1, String arg2)
at Project.MyClass.Main(String[] args) in C:\Project\MyClass\MyClass.cs:line 207
: I 명령 줄에서이를 호출 할 때
, 나는 다음과 같은 오류가 프로젝트의 디렉토리; 이것은 ICSharpCode.SharpZipLib입니다 참조되고 있습니다.
[AppDomain.AssemblyResolve 이벤트] 확인 (http://msdn.microsoft.com/en-us/library/system.appdomain.assemblyresolve.aspx) –