Side-by-side configuration error (Microsoft.VC80.CRT v8.0.50608.0)

人盡茶涼 提交于 2019-12-01 05:36:45

Sorted!

Someone kindly pointed out to me that the '"SomeAssembly.dll"' mentioned in Dependency Walker was in fact a different dll from the one I opened in Dependency Walker! (Whoops!)

Looking at the manifest for this assembly I can see that the problem is due to the fact that Microsoft.VC80.CRT v8.0.50727.4053 is targetted, but not present on this machine. (Installed via a security update).

After struggling with the same problem, I have noticed that the updates applied to development Visual Studio installation might address some target machine updates:

For example, the highlighted update above addresses this specific question.

Instaed of relaying on side by side I would suggest you to don't include the "Manifest file" inside your assembly. Expecially because you cannot be sure that the PC you're going to install your software is updated to the version included in your manifest.

You can disable it setting the project property "Linker\Manifest File\Generate Manifest" to "No".

I hope this could help. Good luck

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!