|
-
Mar 17th, 2004, 11:36 AM
#1
windows built exe can be run on linux?
can a .NET exe that is compiled under windows be run on a linux machine that has MONO on it? how does it work??
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Mar 17th, 2004, 03:46 PM
#2
Addicted Member
well using wine you could run almost any windows program on linux i believe. For this .Net stuff I believe it has something to do with the pdb file or whatever it is that is created when you compile you applicaiton.
-
Mar 17th, 2004, 09:17 PM
#3
Originally posted by Tewl
well using wine you could run almost any windows program on linux i believe. For this .Net stuff I believe it has something to do with the pdb file or whatever it is that is created when you compile you applicaiton.
hmm so you have to have the pdb and the exe together for a linux user to be able to run it? (not using wine) or just the pdb? or you need the whole code?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Mar 17th, 2004, 09:20 PM
#4
Addicted Member
Doesn't Mono have a different System.Drawing equivilant?
-
Mar 17th, 2004, 10:45 PM
#5
Hyperactive Member
I don't believe its the PDB
I think thats for debugging. I've deleted it before and got it to run under windows. Mono should run the exe, but you need to do some weird stuff to get Windows.Forms and Drawing to work, which aren't fulley implemented. MS also released a .NET Framework for Linux. I don't think either will get your Drawing and Forms to work 100%
-
Mar 17th, 2004, 10:46 PM
#6
Re: I don't believe its the PDB
Originally posted by VBD
I think thats for debugging. I've deleted it before and got it to run under windows. Mono should run the exe, but you need to do some weird stuff to get Windows.Forms and Drawing to work, which aren't fulley implemented. MS also released a .NET Framework for Linux. I don't think either will get your Drawing and Forms to work 100%
useless microsoft
hmm never heard of ms releasing a framework for linux, got any links to that?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Mar 18th, 2004, 10:21 AM
#7
Frenzied Member
Don't they have a cream for mono?
-
Mar 18th, 2004, 12:10 PM
#8
Fanatic Member
yes, a .NET exe can be compiled and run on linux using mono... there is one catch however... like was mentioned before, mono doesn't natively support the Windows.Forms namespaces.... There are some implementations out there for them, GTK# for gnome seems to be the most popular... Even then, you may not be able to use everything from the namespaces...
but, if you want a simple test, create a console application... compile it on your windows machine, and then try running it under mono on your linux machine. it works! this works simply because the exe is only in MSIL code, not a normal win32 binary...
so, in short, yes, you can compile on windows and run on linux...
-
Mar 18th, 2004, 02:53 PM
#9
http://www.vbforums.com/showthread.p...&highlight=gtk
My tutorial on using GTK# in visual studio and a sample code that will compile on both windows and linux
Includes screenshot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|