c# - InstallShield and DllImport management -


in vs2012 project use third party dll. not add project references, have added path environment system variables (in path), suggested user manual of third party software.

so inside project don't have references dll, .cs file there [dllimport("xxx.dll")].

in same solution, i've created installshield project, create setup application. when run setup, notice dll copied application folder. not me, because if try run application have compatibility problem other dlls of third party software.

if remove manually xxx.dll application folder, works correctly.

so, how can avoid xxx.dll copied inside application folder?

turn off of "magic" options can control files install. example, set.net scan @ build properties instead of dependencies , properties.


Comments