Click here to Skip to main content
14,392,645 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 9:19
MemberCodeWraith14-Nov-19 9:19 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
ZurdoDev14-Nov-19 9:30
professionalZurdoDev14-Nov-19 9:30 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 9:44
MemberCodeWraith14-Nov-19 9:44 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
ZurdoDev14-Nov-19 9:54
professionalZurdoDev14-Nov-19 9:54 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 10:03
MemberCodeWraith14-Nov-19 10:03 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
Jörgen Andersson14-Nov-19 9:58
professionalJörgen Andersson14-Nov-19 9:58 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 10:42
MemberCodeWraith14-Nov-19 10:42 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
Eddy Vluggen14-Nov-19 10:54
mveEddy Vluggen14-Nov-19 10:54 
CodeWraith wrote:
Has anyone ported half a ton of existing code to Mono?
Yup, most of my private codebase runs on both platforms, without recompiling.

CodeWraith wrote:
Was it easy or problematic?
Easier than I expected; WinForms just works, but there's no WinForms designer. The only difference that bit me was how they handle attributes on properties in the PropertyEditor. One gives precedence to attributes on the object, the other on properties of the parent of the object. It will not be the only subtle difference, but it is the only one I encountered.

Installing ASP.NET on an existing Apache server is a pain, but there's distros that contain them preconfigured and ask you nicely if you want Mono with your server. Also, no SQL Server*, which is what I missed most.

Visual Studio is still the best IDE, and there's a community edition. I'm using an older version of MonoDevelop, which works fine for me.

Haven't touched Gtk# yet, and writing an installer is a real pain under Linux. There's dependencies in every bloody package, and a new version often means also updating those dependencies who in turn have dependencies of their own.

..but Mono itself, as an environment to run .NET software is nice. The tools aren't that polished, and mono is no IDE, just a framework. Also, Visual Studio Code - Code Editing. Redefined[^] also works on Linux.

Install OpenSuse using a pendrive and give it a try over the weekend with some of your existing code. Dual-booting works, and 20Gb goes a long way under Linux. If you have a NAS to share code between those two platforms, even better. Check your router if it has an USB-port and plug in an old pendrive if possible. Linux can read/write Windows partitions, but not the other way round.

--edit
*) There is now, as I been told in this thread. Haven't tried it yet, but would be nice if it performs similar.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.


modified 14-Nov-19 19:59pm.

GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 11:20
MemberCodeWraith14-Nov-19 11:20 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
Eddy Vluggen14-Nov-19 11:46
mveEddy Vluggen14-Nov-19 11:46 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 12:08
MemberCodeWraith14-Nov-19 12:08 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
Eddy Vluggen14-Nov-19 13:50
mveEddy Vluggen14-Nov-19 13:50 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
Scott Serl14-Nov-19 13:33
MemberScott Serl14-Nov-19 13:33 
PraiseRe: Has anybody ported code from .Net to Mono? Pin
Eddy Vluggen14-Nov-19 14:57
mveEddy Vluggen14-Nov-19 14:57 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
BillWoodruff14-Nov-19 15:39
mveBillWoodruff14-Nov-19 15:39 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
CodeWraith14-Nov-19 22:19
MemberCodeWraith14-Nov-19 22:19 
GeneralRe: Has anybody ported code from .Net to Mono? Pin
honey the codewitch15-Nov-19 1:23
Memberhoney the codewitch15-Nov-19 1:23 
GeneralWSO CCC OTD 2019-11-14 Pin
OriginalGriff13-Nov-19 22:40
mveOriginalGriff13-Nov-19 22:40 
GeneralRe: WSO CCC OTD 2019-11-14 Pin
pkfox13-Nov-19 23:27
professionalpkfox13-Nov-19 23:27 
GeneralRe: WSO CCC OTD 2019-11-14 - we have a winner! Pin
OriginalGriff13-Nov-19 23:29
mveOriginalGriff13-Nov-19 23:29 
GeneralRe: WSO CCC OTD 2019-11-14 - we have a winner! Pin
pkfox14-Nov-19 1:53
professionalpkfox14-Nov-19 1:53 
GeneralRe: WSO CCC OTD 2019-11-14 - we have a winner! Pin
OriginalGriff14-Nov-19 2:02
mveOriginalGriff14-Nov-19 2:02 
GeneralI got another word into Urban Dictionary! Pin
OriginalGriff13-Nov-19 20:59
mveOriginalGriff13-Nov-19 20:59 
GeneralRe: I got another word into Urban Dictionary! Pin
Sander Rossel13-Nov-19 22:06
professionalSander Rossel13-Nov-19 22:06 
GeneralRe: I got another word into Urban Dictionary! Pin
OriginalGriff13-Nov-19 22:20
mveOriginalGriff13-Nov-19 22:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.