Possible Duplicate:
Change C++/CLI project to another framework than 4.0 with vs2010
I wrote a hello world app in C++/CLI and i compiled (with safe clr) and ran it under windows. No problem. I ran it under linux and i got this error
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322
How do I compile C++/CLI so it will work for either .NET run time 2/3.5 or .NET 4? -edit- I found this answer why says mono 2.6 falls back (or reports?) version 1 when it comes across .NET 4 runtimes. Ok, so now i know this is a .NET 4 runtime but how do i compile it as .NET 2 or 3.5? I rather deal with .NET 4 than 1 so good :). But my server isnt setup for that ATM (monos VM image is tho which i am testing now with success)