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

    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
                    • L Lost User

                      Have you looked at vscode? It's not bad. Got a good collection of add-ons etc. Cross platform. It's not a full blown IDE but enough of what's really needed is there. edit: I have briefly played with mono, it's not bad but some frustrating bugs and things still missing/kludgy/wysiwy-maybe-sometimes-sortof-g. [even though years old] feels like a beta package that needs a lot of work that probably won't happen for a very long time if ever. (yes vscode also misses a lot compared to vs, but it never promised to be a full IDE.) (and a few weeks back it got a new icon!)

                      Message Signature (Click to edit ->)

                      D Offline
                      D Offline
                      DerekT P
                      wrote on last edited by
                      #43

                      Started working with VS Code just this week. Have been using VS2015 Community, which I like for .Net development. But right now I'm doing my first "real" php development and was missing interactive debugging (or even decent colour highlighting in php). Found VSCode does the highlighting "out of the box", and that installing XDebug was very straightforward (though I don't really understand php configuration) and now I have interactive debugging! :) Had tinkered with a trial copy of PHPStorm and found it very very slow, and flaky; IDE would crash unpredictably. So pleased to find an easy-to-use free IDE for php... off-topic I know for CodeWraith's query but hey, we'd drifted onto VSCode...

                      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