Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Has anybody ported code from .Net to Mono?

Has anybody ported code from .Net to Mono?

Scheduled Pinned Locked Moved The Lounge
csharpquestionc++visual-studiolinux
43 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C CodeWraith

    Good. In that case I still have the option to become a CodeCommedian. In that case I would need Mickeysoft again. They have become a never ending source of things to crack jokes about.

    I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

    Z Offline
    Z Offline
    ZurdoDev
    wrote on last edited by
    #23

    CodeWraith wrote:

    They have become a never ending source of things to crack jokes about.

    Usually, you're the only one laughing though. :laugh:

    Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

    C 1 Reply Last reply
    0
    • C CodeWraith

      Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.

      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

      J Offline
      J Offline
      Jorgen Andersson
      wrote on last edited by
      #24

      Just curious, but since you dislike everything MS so much, why are you still with .Net? I hear Python and PHP are both really popular on Linux.

      Wrong is evil and must be defeated. - Jeff Ello

      C 1 Reply Last reply
      0
      • Z ZurdoDev

        CodeWraith wrote:

        They have become a never ending source of things to crack jokes about.

        Usually, you're the only one laughing though. :laugh:

        Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

        C Offline
        C Offline
        CodeWraith
        wrote on last edited by
        #25

        A pity. Laughing is still the best way to show someone your teeth.

        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

        1 Reply Last reply
        0
        • S Super Lloyd

          Visual Studio Community Edition is 100% free! :) The only limitation is your imagination! :) (And also legal, cant be used in entreprise with 5 or more developers) At any rate that's the one I use at home ;P Otherwise.. have you considered [vi](https://www.vim.org/download.php)?! ;P BTW the spiritual successor of SharpDevelop might very well be Visual Studio Code! Works on Linux and MacOS too.

          A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

          R Offline
          R Offline
          Ravi Bhavnani
          wrote on last edited by
          #26

          Super Lloyd wrote:

          Visual Studio Community Edition is 100% free!

          For teams of 5 or fewer. /ravi

          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

          C 1 Reply Last reply
          0
          • J Jorgen Andersson

            Just curious, but since you dislike everything MS so much, why are you still with .Net? I hear Python and PHP are both really popular on Linux.

            Wrong is evil and must be defeated. - Jeff Ello

            C Offline
            C Offline
            CodeWraith
            wrote on last edited by
            #27

            That's one of the best questions. I have a bad habit that is only a few years younger than Mickeysoft. I write libraries and try to reuse as much code as I possibly can. Since 2002 I have accumulated quite a stack of maintainable, expandable and reliable code, despite Mickeysoft's best efforts to prevent me from maintaining it. That's the biggest issue I have with .Net itself, but that's already reason enough to look for a better alternative before they pull away the rug from under my feet yet again. It's not even too radical to start all over again, because Mickeysoft will sooner or later make that decision for me.

            I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

            1 Reply Last reply
            0
            • C CodeWraith

              Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.

              I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #28

              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 :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 p

              C S 2 Replies Last reply
              0
              • L Lost User

                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 :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 p

                C Offline
                C Offline
                CodeWraith
                wrote on last edited by
                #29

                Thanks. Sounds like it's worth a try. Any idea about good old SOAP webservices? I used them quite a lot in the service layers.

                I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                L 1 Reply Last reply
                0
                • C CodeWraith

                  Thanks. Sounds like it's worth a try. Any idea about good old SOAP webservices? I used them quite a lot in the service layers.

                  I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #30

                  Would be supported; Mono is lagging a bit on the newest C# language features, and XSP is a better (easier) choice than Apache. No WPF UI either, obviously.

                  Bastard Programmer from Hell :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.

                  C 1 Reply Last reply
                  0
                  • C CodeWraith

                    Anything, but I don't want to have anything to do with Mickeysoft anymore.

                    I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                    D Offline
                    D Offline
                    dandy72
                    wrote on last edited by
                    #31

                    So again, if that's truly the case, why are you trying to move code to a platform that is simply a re-implementation of a Microsoft technology?

                    C 1 Reply Last reply
                    0
                    • L Lost User

                      Would be supported; Mono is lagging a bit on the newest C# language features, and XSP is a better (easier) choice than Apache. No WPF UI either, obviously.

                      Bastard Programmer from Hell :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.

                      C Offline
                      C Offline
                      CodeWraith
                      wrote on last edited by
                      #32

                      That's not a problem. I have my own UI and I already know that the graphics library it is based on was resurrected under Mono after Mickeysoft had killed it.

                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                      L 1 Reply Last reply
                      0
                      • D dandy72

                        So again, if that's truly the case, why are you trying to move code to a platform that is simply a re-implementation of a Microsoft technology?

                        C Offline
                        C Offline
                        CodeWraith
                        wrote on last edited by
                        #33

                        You can read the full version some posts further down. Short version: Damage control. I have a ton of code that survived Microsoft's best efforts to make it useless. If they succeed, I will have to move on anyway, but why not at least try to salvage it if that is possible,

                        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                        1 Reply Last reply
                        0
                        • C CodeWraith

                          I did not want to go there, but I have enough of Mickeysoft. Their stuff can't be so free or good that I would want it.

                          I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                          S Offline
                          S Offline
                          Super Lloyd
                          wrote on last edited by
                          #34

                          Q: What's the difference between C++ and CodeWraith? A: None, they both shoot themselves in the foot! :O ;P

                          A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                          C 1 Reply Last reply
                          0
                          • R Ravi Bhavnani

                            Super Lloyd wrote:

                            Visual Studio Community Edition is 100% free!

                            For teams of 5 or fewer. /ravi

                            My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                            C Offline
                            C Offline
                            CodeWraith
                            wrote on last edited by
                            #35

                            So you count me as at least 6? I'm honored. :-)

                            I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                            1 Reply Last reply
                            0
                            • S Super Lloyd

                              Q: What's the difference between C++ and CodeWraith? A: None, they both shoot themselves in the foot! :O ;P

                              A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                              C Offline
                              C Offline
                              CodeWraith
                              wrote on last edited by
                              #36

                              Yeah, gone are the days when I plucked targets out of the sky at 50km and thought that was an easy shot. :-) But I was also not bad at all with the buzzsaw at 300 meters. 15 rounds in the belt, four targets hit, 8 holes in the inner circle, 7 holes in the outer circles, no misses.

                              I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                              1 Reply Last reply
                              0
                              • L Lost User

                                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 :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 p

                                S Offline
                                S Offline
                                Scott Serl
                                wrote on last edited by
                                #37

                                Eddy Vluggen wrote:

                                Also, no SQL Server, which is what I missed most.

                                Are you saying that Mono has no support for the .net sql libraries? There is definitely a version of sql server that runs on linux (install is much faster and easier too!). We used it in a containerized application and it worked well (using .net Core).

                                L 1 Reply Last reply
                                0
                                • C CodeWraith

                                  That's not a problem. I have my own UI and I already know that the graphics library it is based on was resurrected under Mono after Mickeysoft had killed it.

                                  I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #38

                                  CodeWraith wrote:

                                  I already know that the graphics library it is based on was resurrected under Mono after Mickeysoft had killed it.

                                  Silverlight, yes; WPF no. Looking forward to hearing how you like it, after the weekend :thumbsup:

                                  Bastard Programmer from Hell :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.

                                  1 Reply Last reply
                                  0
                                  • S Scott Serl

                                    Eddy Vluggen wrote:

                                    Also, no SQL Server, which is what I missed most.

                                    Are you saying that Mono has no support for the .net sql libraries? There is definitely a version of sql server that runs on linux (install is much faster and easier too!). We used it in a containerized application and it worked well (using .net Core).

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #39

                                    Scott Serl wrote:

                                    Are you saying that Mono has no support for the .net sql libraries?

                                    The dataprovider works there, np, since that is a .NET library.

                                    Scott Serl wrote:

                                    There is definitely a version of sql server that runs on linux

                                    Nice, you learn something new everyday. I'll give it a spin soon :thumbsup:

                                    Bastard Programmer from Hell :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.

                                    1 Reply Last reply
                                    0
                                    • C CodeWraith

                                      Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.

                                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                      B Offline
                                      B Offline
                                      BillWoodruff
                                      wrote on last edited by
                                      #40

                                      So, you tell us your biases against Visual Studio and Microsoft are set in stone, and then ask for help in porting code .., and, as you get responses from well-intentioned CP members, you respond with one-line negations. You are a troll, albeit not a clever, or entertaining, one: QED

                                      «One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

                                      C 1 Reply Last reply
                                      0
                                      • B BillWoodruff

                                        So, you tell us your biases against Visual Studio and Microsoft are set in stone, and then ask for help in porting code .., and, as you get responses from well-intentioned CP members, you respond with one-line negations. You are a troll, albeit not a clever, or entertaining, one: QED

                                        «One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

                                        C Offline
                                        C Offline
                                        CodeWraith
                                        wrote on last edited by
                                        #41

                                        Do you miss the soapbox? What can I do to make you happy again? Shall I call you a crying fanboy? Then let me tell you that I'm the least fanboiish guy you will ever meet. My way of doing things does not fit very well to their ideas how I should be doing them. Fine, then let's part ways. I'm used to roughing it a little. You can give me a computer without a shred of software and I still can get something done. I actually find that far more interesting than trotting along with the rest of of the herd. Any herd, not just Mickeysoft. Mickeysoft really is not an option when the whole point is to get away from Mickysoft. That should be so simple that even the most desperate fanboi can't deny. :-)

                                        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                        1 Reply Last reply
                                        0
                                        • C CodeWraith

                                          Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.

                                          I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                          H Offline
                                          H Offline
                                          honey the codewitch
                                          wrote on last edited by
                                          #42

                                          I've used MonoDevelop with no issues. I don't typically need to port because i don't use winforms. a winforms app will require a UI rewrite

                                          When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups