using System; using System.Net; using System.Net.Sockets; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace TestingUri { public class Program { public static void Main() { // write your code here Uri myUri = new Uri("http:\\www.google.com"); } } }
Reference for System.Uri?
Started by CarTech, Nov 29 2011 04:40 PM
3 replies to this topic
#1
Posted 29 November 2011 - 04:40 PM
I can't figure out which reference I need to use the System.Uri class. Opening a fresh project, I get this error message: type or namespace name "Uri" could not be found (are you missing an assembly reference?) error when I try something like the following.
#2
Posted 29 November 2011 - 04:55 PM
Hello.
Don’t think that system.Uri exist in Micro .net framework.
http://msdn.microsof...y/cc533014.aspx
#3
Posted 29 November 2011 - 05:00 PM
Hello.
Don’t think that system.Uri exist in Micro .net framework.
http://msdn.microsof...y/cc533014.aspx
I have 4.1, which shows it in the API reference:
http://msdn.microsof...y/ee436970.aspx
Any other ideas?
#4
Posted 29 November 2011 - 05:19 PM
I figured out the missing reference was System.HTTP
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users