- Home /
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
Answer by hazem17 · Aug 12, 2018 at 10:53 AM
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.
Your answer

Follow this Question
Related Questions
But the dll is not allowed to be included or could not be found. 0 Answers
Built game, wrong graphics/ratio for standalone but working with WebGL 0 Answers
Error while building for iOS (Unity 2018.4.2f1) 2 Answers
Unity Cloud Build error with .dll 3 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers