System.Device.Location问题 - 没有这样的命名空间 [英] System.Device.Location problem - there's no such namespace

查看:369
本文介绍了System.Device.Location问题 - 没有这样的命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我不知道我是否将问题发布在正确的类别中。我开始使用Windows Phone应用程序开发。我知道一些C#基础知识,但我有缺乏"Windows.Device ..."的问题。命名空间。我正在使用Visual Studio 2010 Express Edition for Windows Phone
而我的PC系统是Windows 7 Home Premium。我该怎么做才能让这个命名空间工作?


我正在使用:

 

使用System.Device。位置;

我收到错误:


类型或命名空间名称'Device'不存在于命名空间'系统'(你错过了程序集引用吗?)


请帮助我。


解决方案

你好sunpietro-sc,


你好,


我不知道我是否将问题发布在正确的类别中。我开始使用Windows Phone应用程序开发。我知道一些C#基础知识,但我有缺乏"Windows.Device ..."的问题。命名空间。我正在使用Visual Studio 2010 Express Edition for Windows Phone
而我的PC系统是Windows 7 Home Premium。我该怎么做才能让这个命名空间工作?


我正在使用:

 

使用System.Device。位置;

我收到错误:


类型或命名空间名称'Device'不存在于命名空间'系统'(你错过了程序集引用吗?)


请帮助我。



欢迎来到Msdn论坛,有关WindowsPhone的问题,您可以在专门的论坛中查询,请参阅下面的链接
http://forums.create.msdn.com/forums/


问候。


Hi,

I don't know if I post the question in correct category. I'm starting with Windows Phone app development. I know some C# basics, but I have problem with lack of "Windows.Device ..." namespace. I'm using Visual Studio 2010 Express Edition for Windows Phone and my PC system is Windows 7 Home Premium. What should I do to get that namespace working?

I'm using:

using System.Device.Location;

and I get the error:

The type or namespace name 'Device' does not exist in the namespace 'System' (are you missing an assembly reference?)

Help me, please.

解决方案

Hello sunpietro-sc,

Hi,

I don't know if I post the question in correct category. I'm starting with Windows Phone app development. I know some C# basics, but I have problem with lack of "Windows.Device ..." namespace. I'm using Visual Studio 2010 Express Edition for Windows Phone and my PC system is Windows 7 Home Premium. What should I do to get that namespace working?

I'm using:

using System.Device.Location;

and I get the error:

The type or namespace name 'Device' does not exist in the namespace 'System' (are you missing an assembly reference?)

Help me, please.

Welcome to Msdn Forum , for WindowsPhone question you can ask in dedicated Forum , see link below http://forums.create.msdn.com/forums/

Regards.


这篇关于System.Device.Location问题 - 没有这样的命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆