How can i import windows.media.capture in my WPF project?

房东的猫 提交于 2019-12-03 07:49:07
Dika Arta Karunia

Finally I've done developing app for windows 8.1 Table in Windows 7 x64 and want to share some experience that i had in here.

Steps :

  1. Edit .csproject in wpf app (Add <TargetPlatformVersion>8.1</TargetPlatformVersion> Inside <PropertyGroup> )

  2. Add "Windows" library Reference

  3. Load some .Net Framework 4 Library (System.Runtime.dll, System.Runtime.InteropServices.WindowsRuntime.dll,System.Threading and System.Threading.Task ) the location usually in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\

  4. Load System.Runtime.WindowsRuntime.dll (C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5)

But we cannot debug the application because have different runtime with windows 7, we only can build and deploy to the Windows 8.1 Tablet.

I've done implementing camera function, GPS and database operation using MSSQLServer Compact DB Express 2014.

Reference :

ReeganLourduraj

Windows.media.capture minimum supported client is windows 8 and minimum supported phone is windows phone 8.1.

Check this Article from MSDN

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