I am writting Windows 7 apps using System.Device.Location, which depends on Windows Sensor and Location Platform. I download the Consumer preview, but I cannot find it.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to the documentation, it’s in the .NET Framework 4.5:
http://msdn.microsoft.com/en-us/library/system.device.location(v=vs.110).aspx
However, it doesn’t appear that Windows 8 Metro apps have this namespace:
http://msdn.microsoft.com/en-us/library/windows/apps/br230232(v=vs.110).aspx
However again, it looks like some of the classes in the
System.Device.Locationnamespace have migrated toWindows.Devices.Geolocationnamespace, which is in Metro:http://msdn.microsoft.com/en-us/library/windows/apps/br229921.aspx
What it doesn’t tell you is if they are equivalent. You may not be able to just change namespaces, so some code fixing may be required. On the surface they look like they are tackling the same problem.