The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
it gives error in the following line "System.Web.Script.Services.ScriptService"
i have included name space of system.web
Two problems:
System.Web.Script.Services.ScriptServiceAttribute
exists in the System.Web.Extensions
assembly, not System.Web
. Make sure you're referencing the System.Web.Extensions
assembly in your project.Once I referenced System.Web.Extensions, the following compiled for me:
System.Web.Script.Services.ScriptServiceAttribute ss;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With