Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

System.Web missing when adding a 3rd party reference on Android build

$
0
0

Hey,

I've seen a few questions regards System.Web & Xamarin.Android but I've not really got any further with this.

I've added a DLL that I assume is referencing System.Web - on build, VS complains of the below:

Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?

System.Web is not referenced anywhere within my own projects code.

Adding in System.Web as a reference gets rid of the error - but the app doesn't work on build. It crashes upon startup, again the debug log is complaining that it can't locate System.Web.

How can I possibly include this third party DLL and use it as I have been on an .NET MVC site?

It must be used unfortunately and I'm struggling to find a way to incorporate it.

Any suggestions would be greatly received!


Viewing all articles
Browse latest Browse all 204402

Trending Articles