0

我正在尝试使用Slicer dll 引用将图像转换为视频文件,但在将引用添加到我的 Windows Phone 项目时遇到问题,我收到错误消息

无法将引用添加到 l 因为它不是使用 Windows Phone 运行时构建的。Windows Phone 项目仅适用于 Windows Phone 程序集。

我搜索并找到 了提到它的这个链接

为 Silverlight for Windows Phone 7 创建一个新的类库

我不知道我是否正确创建了类项目,但它不起作用我得到与 win 手机项目相同的错误,无法安装 .dll,有谁知道我如何正确创建类库而不会出现此错误?

或者即使可以将 Splicer 与 windows phone 7 和 8 一起使用?

谢谢你的帮助。

4

1 回答 1

1

据我所知,Splicer 不是为在 Windows Phone 上工作而构建的。虽然通用 .NET 库似乎可以在 WP7 和 WP8 等 .NET 兼容平台上运行似乎是有道理的,但情况并非如此。(有点过时,但在这里:http ://dotnet.dzone.com/articles/not-every-library-will-work )

You could always check out Splicer from Codeplex, but you'd probably have to do a non-trivial amount of modification to get it to work for your project. I'd surmise you could maybe pull it off by just modifying the class libraries in the solution, but there are probably pitfalls included with that. Worse comes to worse, you could take all the source files, copy them into a new Windows Phone library project, and then resolve all the build errors. Either way, it'll involve some work.

于 2013-03-24T03:08:12.587 回答