|
-
Jan 16th, 2008, 12:57 AM
#1
Thread Starter
Interweb adm/o/distrator
[RESOLVED] .NET on linux
Do linux users need an emulator to run .NET applications? like WINE?
-
Jan 16th, 2008, 01:41 AM
#2
Re: .NET on linux
I think you are suposed to use Mono.
Ps, we do have a Linux forum.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 16th, 2008, 01:43 AM
#3
Thread Starter
Interweb adm/o/distrator
Re: .NET on linux
Yea, just this isn't really for development atleast not yet 
I was just wondering i have been doing some googling and it says some stuff about using the terminal but thats about all. But i also discovered it is distributed with a CLR which i am not sure if its based off WINE or the .NET CLR.
-
Jan 16th, 2008, 01:45 AM
#4
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 16th, 2008, 01:53 AM
#5
Thread Starter
Interweb adm/o/distrator
Re: .NET on linux
Yea i know that linux users need mono, but i have heard that you need an emulator like 1) WINE to run the application 2) or it needs to be recompiled, 3) or you just tell mono to run it via the terminal.
sorry for the misunderstanding i am just trying to get my head around this .NET, mono, Linux stuff it all intrigues me
-
Jan 16th, 2008, 01:55 AM
#6
Re: .NET on linux
I tried the MonoDevelop IDE with some project I've done on VS. I don't know why but it had a problem with my resource files and the GUI kept crashing when using the System.Windows.Forms assembly.
Maybe there are somethings that need to be changed in order to run on Mono. but for console applications I didn't have any problems.
Oh and the IDE is a mess.
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 16th, 2008, 05:08 AM
#7
Fanatic Member
Re: .NET on linux
I cant understand why you would need an emulator. If you use mono you are developing a linux app not a windows one. The idea of the framework is to abstract away from the OS is it not?
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
-
Jan 16th, 2008, 10:54 AM
#8
Re: .NET on linux
Not really CodeFire, you are actually building a .NET app that will run on Linux as well as other OS'.
 Originally Posted by Mono Site
Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 16th, 2008, 12:39 PM
#9
Fanatic Member
Re: .NET on linux
@RD: I know, shame on me, hell i even contradicted myself in my post by saying that and then saying it abstracts away from the OS. God im a dope! Fact of the matter is you would not need an emulator!
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
-
Jan 16th, 2008, 08:28 PM
#10
Thread Starter
Interweb adm/o/distrator
Re: .NET on linux
It doesn't need to be recompiled though does it? And CodedFire all managed code uses an emulator (CLR in .NET's case) but i am just wondering if...
1) It needs to be recompiled for linux? Or you can just tell the mono framework to run it, and it will do the rest for you.
2) I know the mono comes with an emulator but i was just wondering if it is an almost carbon copy of the Microsoft one or if its based off WINE?
3) Or do you need to use WINE or some other emulator regardless of the emulator that comes with mono.
-
Jan 16th, 2008, 11:43 PM
#11
Re: .NET on linux
Mono is not very reliable. If you are going to try using it I recommend you develop and test your applications on Linux before testing them on Windows. That way you are less likely to use anything that can't be ported.
Recompilation is not necessary. The mono compilers will produce a Windows PE file which can be run through
-
Jan 17th, 2008, 08:39 AM
#12
Fanatic Member
Re: .NET on linux
Is the CLR not an interpretor. An emulator (like wine) emulates the windows system where as the CLR compiles your code via JIT from CIL to Machine code as it needs to?
Languages: Visual Basic 05/08, C# 08
IDE: Express Editions
Framework: 2.0, 3.0, 3.5
Lesson 5: Don't take domestic advice from perpetual singles. - Mendhak
-
Jan 18th, 2008, 02:07 PM
#13
Re: .NET on linux
 Originally Posted by Paul M
Yea i know that linux users need mono, but i have heard that you need an emulator like 1) WINE to run the application 2) or it needs to be recompiled, 3) or you just tell mono to run it via the terminal.
1. WINE can run the .Net framework and .Net applications I believe but it's an extra layer of abstraction that isn't needed if you're going to use Mono. You don't need WINE if you compile with Mono.
2. Yes, a .Net application has to be recompiled into a Mono application before it can use the Mono framework instead.
3. I believe you, by default, have to run all Mono applications from a command line (though I could be wrong).
 Originally Posted by CodedFire
I cant understand why you would need an emulator. If you use mono you are developing a linux app not a windows one. The idea of the framework is to abstract away from the OS is it not?
Erm, you contradicted yourself there. At first you say the mono app you're creating is a Linux app but then you say the idea of the framework is to be abstract from the OS.
Mono is an open-source version of the .Net framework. Applications compiled in Mono can run on any system that has the Mono framework installed (so you can compile a mono application in Windows and run it in OS X or Linux).
 Originally Posted by CodedFire
Is the CLR not an interpretor. An emulator (like wine) emulates the windows system where as the CLR compiles your code via JIT from CIL to Machine code as it needs to?
First, WINE Is Not an Emulator (heh). Secondly, take a look at this: http://en.wikipedia.org/wiki/Common_Language_Runtime
 Originally Posted by penagate
Recompilation is not necessary. The mono compilers will produce a Windows PE file which can be run through
Are you sure? While it creates something similar to a Windows PE file (much like a regular .Net application, I don't believe it's exactly the same but I don't really know), last I used the Mono framework I had to re-compile my applications so it would reference them and not the .Net framework. I'm not entirely sure what a Windows PE file has anything to do with Mono or .Net since both require the framework to be present to even run.
-
Jan 18th, 2008, 09:38 PM
#14
Re: .NET on linux
My post appears to have been cut off. I meant to say "which can be run through either mono or the .NET Framework CLR."
.NET binaries contain a PE header and a stub which invokes the CLR, which makes them technically PE files even if the executable code they contain is not native.
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
|