Project References DLL version hell

后端 未结 10 1069
离开以前
离开以前 2020-12-28 16:19

We\'re having problems getting visual studio to pick up the latest version of a DLL from one of our projects.

We have multiple class library projects (e.g. Business

10条回答
  •  生来不讨喜
    2020-12-28 16:49

    Enable FusionLog and after the DLL fails to load, open the file with the DLL's name in the folder C:\FusionLog\Default\devenv.exe. This will show the path from where the DLL was really loaded.

    In my case, an old version had mysteriously appeared in

    C:\Program Files\Microsoft Visual Studio 10\Common7\IDE !

    To stop this ever happening again, I added a security rule "Deny Write" to Everyone on Common7\IDE.

提交回复
热议问题