[英]The type or namespace name 'Devices' does not exist in the namespace 'Microsoft'
I found similar problems but any solution didn't help.我发现了类似的问题,但任何解决方案都没有帮助。 I wanna declare private PhotoCamera photoCamera;
我要声明私有 PhotoCamera photoCamera; with using Microsoft.Devices;
使用 Microsoft.Devices; but it's problem here.
但这里有问题。 I am creating Windows Phone 8.1 app using Visual Studio 2013. Am I should install some Reference ?
我正在使用 Visual Studio 2013 创建 Windows Phone 8.1 应用程序。我应该安装一些 Reference 吗?
Thx in advance提前谢谢
In order to use Microsoft.Devices.PhotoCamera class, you need to reference Microsoft.Phone assembly.为了使用 Microsoft.Devices.PhotoCamera 类,您需要引用 Microsoft.Phone 程序集。 See https://msdn.microsoft.com/en-us/library/windows/apps/microsoft.devices.photocamera(v=vs.105).aspx
请参阅https://msdn.microsoft.com/en-us/library/windows/apps/microsoft.devices.photocamera(v=vs.105).aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.