Build Error System.Web.UI.ScriptManager causing problems when building for PC

The console is saying “TypeLoadException: Could not load type ‘System.Web.UI.ScriptManager’ from assembly ‘System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.” and “ArgumentException: The Assembly System.Data.Services.Client is referenced by System.Web.Extensions (‘Assets/Plugins/System.Web.Extensions.dll’). But the dll is not allowed to be included or could not be found.”

I’ve tried changing the subnet but it didn’t work

I’m using webservice to get data and i added the reference in visual studio

Never mind i found the error, it was because the wrong System.Web.Extensions.dll was in the plugins folder to get the right one go to “C:\Program Files{unity version you are using}\Editor\Data\Mono\lib\mono\2.0” and get the System.Web.Extensions.dll from there

I’ll leave this Post if anyone faced the same problem.