VS2012 configuration referenced dll directory [turn]

The method of introducing the dll:

Method 1: copy the dll file to the generated folder as the .exe

Method 2: Configuration Properties -> Debug -> Environment: input path = dll file contains the file folder path,

Note that the path is the path to the file that contains the dll file folder, rather than the dll file

Note path (space) = path, path = (space) path, path (space) = (space) and other path will lead to the wording dll references fail.

Method 3: Configuration Properties -> Debug -> working directory: dll file that contains the folder path

 

Guess you like

Origin www.cnblogs.com/chinahunter/p/11297778.html