Fixed crash on Mono when request is invalid.

Fixed Mono.csproj files to enable compilation in Monodevelop.