开发者

Windows installer (msi) not updating DLLs

I've updated my project with new DLLs. I've updated the Assembly version and the File version of these DLLs to new (higher) values. I've rebuilt the setup project and increased the version of the setup and said yes to changing the Product code. I've added an assembly binding redirect to the app.config:

<dependentAssembly>
                <assemblyIdentity name="LibVlcWrapper" publicKeyToken="F2C6CD8B56B49D4C" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-2.0.0.9" newVersion="2.0.1.0"/>
            </dependentAssembly>

.. Yet still when people are installing the update the new DLL isn't being copied over the old DLL. Anyone got any idea why? I keep getting error reports like:

Could not load file or assembly 'Implementation, Version=2.0.1.0, Culture=neutr开发者_运维问答al, PublicKeyToken=be745ff6cbf41b62' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


The problem was that'd i'd already updated the DLL to the same version - doh! Thanks Alexey for pointing out the debug generator.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜