Building and deploying dll on windows: SxS, manifests and all that jazz

后端 未结 8 859
野性不改
野性不改 2021-02-04 21:47

Since VS 2005, I see that it is not possible to simply build a dll against MS runtime and deploy them together (http://www.ddj.com/windows/184406482). I am deeply confused by ma

8条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-04 22:46

    Thanks for the answer. For deployment per se, I can see 3 options, then:

    • Using .msi merge directive.
    • Using the redistributable VS package and run it before my own installer
    • Copying the redistributable files along my own application. But in this case, how do I refer to it in a filesystem hierarchy (say bar/foo1/foo1.dll and bar/foo2/foo2.dll refer to msvcr90.dll in bar/) ? I mean besides the obvious and ugly "copy the dll in every directory where you have dll which depends on it).

提交回复
热议问题