Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
and this is the error,

Program.cs(9,7): error CS0246: The type or namespace name 'Newtonsoft' could not
be found (are you missing a using directive or an assembly reference?)
Program.cs(10,7): error CS0246: The type or namespace name 'PushSharp' could not
be found (are you missing a using directive or an assembly reference?)
Program.cs(11,7): error CS0246: The type or namespace name 'PushSharp' could not
be found (are you missing a using directive or an assembly reference?)
Program.cs(12,7): error CS0246: The type or namespace name 'PushSharp' could not
be found (are you missing a using directive or an assembly reference?)



(And i searched many sites, they telling like this(set project target framework to ".Net Framework 4 Client Profile" I changed it to ".Net Framework 4"). but really its not worked for me...
Posted

Make sure the assemblies (json.net and pushsharp) are added to your projects references :
https://msdn.microsoft.com/en-us/library/wkze6zky.aspx[^]
 
Share this answer
 
Did you add a reference to these assemblies? It's noth enough to add using xxx but you also have to add a reference to the dll - files.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900