简体   繁体   中英

using a DLL in a .NET applications

i want to add a class library to my project in C# 2008 and that class library is a wrapper for a C++ library. i added the reference to the .NET wrapper and it says io.notfind exception. i copied C++ DLLs to my project and again it says file not find exception. what can i do to fix this? the original C++ libraries where 2 DLLS that has lib files to but i did not copy those lib files because as i know they are for static linking

the library that i want to use is "awesomium" and the wrapper is awesomiumdotnet

您可以使用depends.exe来检查是否缺少任何依赖项(通常会导致FileNotFoundException

  1. You add a dependency manually or by using VS? Proper way is use of VS.
  2. When error occurs? When you run application or when you compile it?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM