从哪里获取 Microsoft.Expression.Encoder.Devices 的 DLL

Where to get DLL for Microsoft.Expression.Encoder.Devices

我正在尝试 运行 这个用 C#、WPF 应用程序编写的 WebCam 项目。我正在尝试 运行 的项目在 CodeProject 网站上。 LINK 他们没有向我提供 Microsoft.Expression.Encoder.Devices DLL。我在网上搜索过,找不到。

using Microsoft.Expression.Encoder.Devices;

ERROR: The Type or NameSpace name 'Expression' does not exist in the namespace 'Microsoft'(are you missing an assembly reference?)

根据 Microsoft's documentation, you'll need Expression Studio. Expression Studio is no longer available for sale as a stand-alone product; however, Expression Encoder 4 可以免费下载,应该包含您正在寻找的 dll。

所以我不得不查看我发布的同一个 CodeProject link 中的参考部分,然后下载并安装 'Expression Encoder 4',根据那个东西的安装位置,将找到 DLL 文件那里。然后将该 DLL 复制到您的项目并添加到引用中。