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. General Programming
  3. .NET (Core and Framework)
  4. mac os x

mac os x

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnetquestionannouncement
11 Posts 3 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.
  • S SomeGuyThatIsMe

    this is probably a stupid question but one of our clients runs macs, and all of our apps are done in .NET 1.1, i've been looking for a while, but i cant seem to find anything that says weather or not the framework will work on a mac, i thought the whole purpose of the framework and the CLR was to make the same program executable on most os's, if someone could pelase enlighten me i would appreciate, i would apprecieate it even more if they could send me a link to a mac version of the .net installer so i can send it to the client.

    K Offline
    K Offline
    Kevin McFarlane
    wrote on last edited by
    #2

    Microsoft's .NET implementations will only run on Windows (apart from the upcoming Silverlight subset of .NET 3.x). For .NET 1.1 you have these choices. 1. Port the application to Mono. http://www.mono-project.com[^] 2. Run Windows on the Mac using Bootcamp or virtual machine software like Parallells or VMWare (still in beta).

    Kevin

    S 1 Reply Last reply
    0
    • K Kevin McFarlane

      Microsoft's .NET implementations will only run on Windows (apart from the upcoming Silverlight subset of .NET 3.x). For .NET 1.1 you have these choices. 1. Port the application to Mono. http://www.mono-project.com[^] 2. Run Windows on the Mac using Bootcamp or virtual machine software like Parallells or VMWare (still in beta).

      Kevin

      S Offline
      S Offline
      SomeGuyThatIsMe
      wrote on last edited by
      #3

      i've never set up a vm on a mac will i have to install windows on that machine so the vm program will work or does the vm handle it for me? also does any of that come with OS X?

      K 1 Reply Last reply
      0
      • S SomeGuyThatIsMe

        i've never set up a vm on a mac will i have to install windows on that machine so the vm program will work or does the vm handle it for me? also does any of that come with OS X?

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #4

        Not sure what the status of BootCamp is. It may be a free add-on. I did read that it was going to be bundled with the next version of Mac OS X - http://www.apple.com/macosx/bootcamp/[^] For the VM you would need to buy the software. The Parallels version is available, not that expensive - http://www.parallels.com/[^]. VMWare's is still in Beta. You would also need to buy a Windows license and the bad news is that Microsoft only allow XP Pro or Vista Business or higher to run in a VM. You install the VM in Mac OS and then install Windows in the VM. Longer term, it might be worth seeing how feasible it is to convert your app. to run on Mono. I remember reading about a customer in Germany that did this successfully. Völcker Informatik AG[^] Mono have an application compatibility tester on their site.


        Last modified: 12mins after originally posted --

        Kevin

        S 1 Reply Last reply
        0
        • K Kevin McFarlane

          Not sure what the status of BootCamp is. It may be a free add-on. I did read that it was going to be bundled with the next version of Mac OS X - http://www.apple.com/macosx/bootcamp/[^] For the VM you would need to buy the software. The Parallels version is available, not that expensive - http://www.parallels.com/[^]. VMWare's is still in Beta. You would also need to buy a Windows license and the bad news is that Microsoft only allow XP Pro or Vista Business or higher to run in a VM. You install the VM in Mac OS and then install Windows in the VM. Longer term, it might be worth seeing how feasible it is to convert your app. to run on Mono. I remember reading about a customer in Germany that did this successfully. Völcker Informatik AG[^] Mono have an application compatibility tester on their site.


          Last modified: 12mins after originally posted --

          Kevin

          S Offline
          S Offline
          SomeGuyThatIsMe
          wrote on last edited by
          #5

          I've never tried to use Mono, does it suport using Web Services? the primary function of this application is that it reads a file or files, and uploads their contents to our web service to update data stored on our system. I think i could probably do this with java, but for some reason we were under the impression that .NET was microsofts answer to java in that one executable would run on any machine with the framework, just like java runs on any machine with the jvm.

          K D 2 Replies Last reply
          0
          • S SomeGuyThatIsMe

            I've never tried to use Mono, does it suport using Web Services? the primary function of this application is that it reads a file or files, and uploads their contents to our web service to update data stored on our system. I think i could probably do this with java, but for some reason we were under the impression that .NET was microsofts answer to java in that one executable would run on any machine with the framework, just like java runs on any machine with the jvm.

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #6

            I've never used Mono myself but it seems to be getting more and more capable. My impression is that it is easier for it to handle the web side of .NET than the Windows side. It will probably be easier for them once everything goes to WPF. I'd make some inquiries or ask in forums on the Mono site. There may also be one or two articles on codeproject. From your initial description it seems that Mono should be more than capable of handling that, especially if it has no complex Windows GUI. .NET was designed so that it could be made cross-platform (hence Mono) but MS have only provided a Windows implementation (but the new Silverlight runs on Mac OS X). Otherwise, the main difference in MS's implementation compared to Java's is that .NET is multi-language, single platform while Java is single language, multi-platform.

            Kevin

            S 1 Reply Last reply
            0
            • K Kevin McFarlane

              I've never used Mono myself but it seems to be getting more and more capable. My impression is that it is easier for it to handle the web side of .NET than the Windows side. It will probably be easier for them once everything goes to WPF. I'd make some inquiries or ask in forums on the Mono site. There may also be one or two articles on codeproject. From your initial description it seems that Mono should be more than capable of handling that, especially if it has no complex Windows GUI. .NET was designed so that it could be made cross-platform (hence Mono) but MS have only provided a Windows implementation (but the new Silverlight runs on Mac OS X). Otherwise, the main difference in MS's implementation compared to Java's is that .NET is multi-language, single platform while Java is single language, multi-platform.

              Kevin

              S Offline
              S Offline
              SomeGuyThatIsMe
              wrote on last edited by
              #7

              Alright, i'm running the compatibility tester right now, thanks for all your help, i'll look into it, and see which i any solution my boss prefers.

              K 1 Reply Last reply
              0
              • S SomeGuyThatIsMe

                Alright, i'm running the compatibility tester right now, thanks for all your help, i'll look into it, and see which i any solution my boss prefers.

                K Offline
                K Offline
                Kevin McFarlane
                wrote on last edited by
                #8

                I'd be interesting in knowing if this is successful.

                Kevin

                S 1 Reply Last reply
                0
                • K Kevin McFarlane

                  I'd be interesting in knowing if this is successful.

                  Kevin

                  S Offline
                  S Offline
                  SomeGuyThatIsMe
                  wrote on last edited by
                  #9

                  the compatibility tester said that there are no problems...I used the mono command line to start one of the applications and it seemed to work correctly even the web service calls worked. unfortunatly i dont have mac to test this on..i dont even have a pc w/out the .net framework, so i dont know if its actually using mono or if its still using .net, the site said that the monoframework could run exe's complied with visual studio with .net which seems true. Also, it said that some pieces of windows froms are not supported, but it seemslike the basic controls, buttons, textboxs, labels, etc... are in the current version 1.2.4 i think it is, there is also a c# compliier so if running the exe wont work on anoter machne i'm going to try to compile my source code with the mono compiler ad see what happens.

                  K 1 Reply Last reply
                  0
                  • S SomeGuyThatIsMe

                    the compatibility tester said that there are no problems...I used the mono command line to start one of the applications and it seemed to work correctly even the web service calls worked. unfortunatly i dont have mac to test this on..i dont even have a pc w/out the .net framework, so i dont know if its actually using mono or if its still using .net, the site said that the monoframework could run exe's complied with visual studio with .net which seems true. Also, it said that some pieces of windows froms are not supported, but it seemslike the basic controls, buttons, textboxs, labels, etc... are in the current version 1.2.4 i think it is, there is also a c# compliier so if running the exe wont work on anoter machne i'm going to try to compile my source code with the mono compiler ad see what happens.

                    K Offline
                    K Offline
                    Kevin McFarlane
                    wrote on last edited by
                    #10

                    Oh yes - another thing - many of the open source utilities, such as NUnit - also work with Mono.

                    Kevin

                    1 Reply Last reply
                    0
                    • S SomeGuyThatIsMe

                      I've never tried to use Mono, does it suport using Web Services? the primary function of this application is that it reads a file or files, and uploads their contents to our web service to update data stored on our system. I think i could probably do this with java, but for some reason we were under the impression that .NET was microsofts answer to java in that one executable would run on any machine with the framework, just like java runs on any machine with the jvm.

                      D Offline
                      D Offline
                      Dave Kreskowiak
                      wrote on last edited by
                      #11

                      SomeGuyThatIsMe wrote:

                      we were under the impression that .NET was microsofts answer to java in that one executable would run on any machine with the framework,

                      Wrong, very wrong. The .NET Framework is Microsoft's implementation of the ECMA standard Common Language Infrastructure, or CLI. It has nothing to do with having an application run on a variety of operating systems. It defines a managed exectution environment and a common base class library that multiple lanugages targeting the CLI can use. It has nothing to do with being O/S independant, nor is it Microsoft's answer to Java. The only other CLI implementation I know of is the Mono Project. It's modeled after Microsoft's .NET Framework, but is not a bit-for-bit compatible implementation. For instance, the last I looked, Microsoft's System.Windows.Forms namespace doesn't exist in Mono, because all the classes in that namespace are specific to functionality found only in the windowing functionality of Windows.

                      A guide to posting questions on CodeProject[^]
                      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                           2006, 2007

                      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