[Mono-list] compiled on linux only runs on mono?
Stifu
stifu at free.fr
Wed Dec 15 15:53:25 EST 2010
Compiling on Linux and running on Windows *should* work. If not, you found a
bug in Mono.
I take it you made sure the .NET framework was properly installed on the
target machine. Like, if you compiled a .NET 4.0 app with Mono on Linux,
make sure you have .NET 4.0 installed on the Windows machine.
But if Mono generated invalid code, I wouldn't expect the .NET framework to
tell you you don't have the right framework. You'd most likely get an
exception instead.
Cullin1989 wrote:
>
> Hi all.
>
> There's a big question mark on my forehead right now.
> I was building a project on MonoDevelop(Linux) the other day, that I had
> developed and successfully built and run on Windows before. This was to
> test, if my project could be built on linux at all.
> That worked out quit nice and I ran the thing no problem...
> However when I try to run that same file I compiled on linux on a Windows
> client, I get an error message saying I don't have the appropriate
> Framework installed, or something like that.
>
> Now am I doing something totally wrong here? Can I only run things on both
> Frameworks - Mono and .Net - if I Compile on a Windows machine? Wasn't the
> whole idea behind .Net/Mono that it could be ported and run on different
> setups?
>
>
>
--
View this message in context: http://mono.1490590.n4.nabble.com/compiled-on-linux-only-runs-on-mono-tp3089863p3089873.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list