One of the assemblies in MS Expression Encoder SDK fails to resolve

≡放荡痞女 提交于 2019-12-24 08:18:51

问题


I have an year or so old application which uses Expression Encoder 3 to generate thumbnails. Few of the users are complaining that they are receiving the following exception:

Could not load file or assembly 'Microsoft.Expression.Encoder.Utilities.dll' or one of its dependencies. This application has failed to start because the application configuration is incorrect.

The application contains in itself the required EE3 assemblies in the setup, so as such installation of Expression Encoder is not required.

All these crashes started to occur after the application was upgraded to .net 4.

Any clues on what might be happening?

[EDIT] Was able to reproduce the issue on one of our local systems. We did a clean install of Windows XP. Installed .net 4 and then our app. It crashed with the same exception. We could fix the issue by installing .net 3.5!

I was quick to point fingers at .net 4 backward compatibility.

So the question remains: any clues on what might be happening?


回答1:


According to this question this seems to be an issue with EE3 itself in that it requires EE to be installed (via the installer) to work properly.

Sadly this also seems to be the case for EE4, according to this thread, due to a codec licence issue.

Sorry :/

Have you looked at MediaFoundation? it might serve as an alternative, although ive never used it myself.




回答2:


I had similar problems, where it wasn't working on a Windows7 64-bit server.

Here's some things I've learnt:

  • You must modify your project's build settings so it has a target platform of "x86".

  • You must ensure that the "Desktop Experience" feature is enabled on the target machine. See this blog.



来源:https://stackoverflow.com/questions/5525531/one-of-the-assemblies-in-ms-expression-encoder-sdk-fails-to-resolve

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