elliottbenzle
asked on
Compilation Error: The type or namespace name 'Newtonsoft' could not be found
When running this page: http://www.glowfishtw.com/DAAPI/default.aspx
I am getting the error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 11: //You need these for JSON parsing.
Line 12: //The DLL needs to be in your bin directory
Line 13: using Newtonsoft.Json;
Line 14: using Newtonsoft.Json.Linq;
Line 15:
Source File: d:\hshome\elliottb\glowfis htw.com\DA API\Defaul t.aspx.cs Line: 13
Is this something that I need to have installed on my server before I can run the page?
I am getting the error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 11: //You need these for JSON parsing.
Line 12: //The DLL needs to be in your bin directory
Line 13: using Newtonsoft.Json;
Line 14: using Newtonsoft.Json.Linq;
Line 15:
Source File: d:\hshome\elliottb\glowfis
Is this something that I need to have installed on my server before I can run the page?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The doc is here : http://james.newtonking.com/projects/json/help/
Please check the following KB article for details:
http://support.microsoft.com/kb/304656
http://support.microsoft.com/kb/304656
Tutos to know how to use/include it in your project :
http://blog.shrefler.net/?p=5
http://james.newtonking.com/archive/2009/08/02/net-2-0-support-added-to-json-net.aspx
http://blog.shrefler.net/?p=5
http://james.newtonking.com/archive/2009/08/02/net-2-0-support-added-to-json-net.aspx
ASKER
Thanks
You're very welcome! Thanks a lot for the points!