Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web API 2.1 in Linux or OS X

I'm working on getting Web API 2.1 running on Linux and OS X with Monodevelop in Linux and Xamarin Studio on OS X. I think I have it close but I keep running into this error.

Could not load type 'System.Web.Http.WebHost.Routing.HttpRouteExceptionHandler' from assembly 'System.Web.Http.WebHost, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

I this something that is not in the Mono DLLs? Would it be possible to get this from Windows?

I'd like to be able to do all the development Linux and OS X and run this on a Windows Server.

like image 388
John Avatar asked Nov 10 '22 08:11

John


1 Answers

From what I can tell it is a bug in Mono/Xamari according to their bugzilla: bugzilla, so until they update the aspnetstack. You will keep having this problem.

like image 97
Lars Nielsen Avatar answered Nov 14 '22 21:11

Lars Nielsen