Solution errors with MonoDevelop 2.6b2 on OS X

10 views
Skip to first unread message

Jordan

unread,
May 24, 2011, 2:47:42 AM5/24/11
to Manos de Mono
I'm having problems building Manos apps via a MonoDevelop 2.6b2 sln
file. Basically, manos --build works fine when there's no sln file
present, but as soon as I create a solution with MonoDevelop (with
references set to Manos.dll and Nini.dll, and build type set to
Library), attempts to build via either MonoDevelop or manos result in
the following errors: http://pastebin.com/vGCHb1Xv

Clearly the sln file generated by MonoDevelop is causing problems, but
I don't know enough about .Net in general (much less the Mono side of
things) to know how to fix it. Any tips or ideas?

P.S. My "app" is just a cut & paste of one the examples in the
documentation: http://pastebin.com/7siqQ6Z6

Jackson Harper

unread,
May 24, 2011, 8:30:22 AM5/24/11
to manos-...@googlegroups.com
Thanks Jordan,

Do you mind pasting your .sln and .csproj files also?

Thanks,
Jackson

Jordan

unread,
May 24, 2011, 2:42:44 PM5/24/11
to Manos de Mono
Here's my sln: http://pastebin.com/dMwbxGN8

And here's my csproj: http://pastebin.com/HyVERR0n

Thanks:-)

Bojan Rajkovic

unread,
May 24, 2011, 2:49:03 PM5/24/11
to Manos de Mono
Change the project type of your project to Mono/.NET 4.0 instead of
Mono/.NET 3.5. Manos is C# 4, and you're trying to use a C# 3
compiler.

Cheers,
Bojan

Bojan Rajkovic

unread,
May 24, 2011, 9:56:01 AM5/24/11
to manos-...@googlegroups.com

Hi Jordan,

Make sure you set your project .NET version to 4.0 and not 2.0/3.0/3.5. Looks like you're trying to compile 4.x Manos stuff with the 2.x compiler.

—Bojan

Jordan

unread,
May 24, 2011, 3:38:29 PM5/24/11
to Manos de Mono
Thank you! That was indeed the problem:-)
Reply all
Reply to author
Forward
0 new messages