PDA

View Full Version : .Net Framework / Visual Studios on MacBook Pro




Edges
Jun 5, 2006, 05:34 PM
Has anyone ever tried installing .Net Framework and Visual Studios on their MacBook Pro? Any luck?



robbieduncan
Jun 5, 2006, 06:04 PM
Visual Studio is a Window program. You cannot run it on OSX. You could install Windows via BootCamp or Parallels and run it in Windows.

In terms of .Net you cannot install the official .Net runtime but you could install Mono (http://www.mono-project.com/Mono:OSX).

iSee
Jun 5, 2006, 07:52 PM
I've installed several versions of dev studio (6.0, .NET 2003, .NET 2005), and the .NET runtime, including .NET 1.1 and 2.0 (all under bootcamp, of course) and things seem to be working. However, I haven't really worked on .NET based apps much.

robbieduncan
Jun 6, 2006, 02:50 AM
In terms of .Net you cannot install the official .Net runtime but you could install Mono (http://www.mono-project.com/Mono:OSX).

I think I should clarify what I meant. I meant you could not install .Net under OSX. Once you are running Windows under BootCamp or Parallels you can, of course, install .Net.

Edges
Jun 6, 2006, 04:59 PM
Thanks guys, this plays a huge part in my decision to get my first mac :)

DavidLeblond
Jun 6, 2006, 06:29 PM
As a .NET programmer myself I have to get it out of the way and ask the obvious:

ew, why would you want to??

Ok, back to your discussions now. :)

balamw
Jun 6, 2006, 06:37 PM
I think I should clarify what I meant. I meant you could not install .Net under OSX.
Well there's always mono: http://www.mono-project.com/Main_Page if you really want .NET and don't want to leave OS X.

B

superbovine
Jun 6, 2006, 07:36 PM
Thanks guys, this plays a huge part in my decision to get my first mac :)

sorta scares me a developer would ask this question...

janey
Jun 7, 2006, 03:10 AM
visual studio 2005 runs just fineeeee on my macbook in winxp :D

@superbovine, i need vs for some of my classes..lame, but..that was actually a teeny part of why i wanted a laptop capable of dualbooting xp and OS X...visual studio and games on one, and everything else on the other :)

Krevnik
Jun 7, 2006, 10:22 AM
visual studio 2005 runs just fineeeee on my macbook in winxp :D

@superbovine, i need vs for some of my classes..lame, but..that was actually a teeny part of why i wanted a laptop capable of dualbooting xp and OS X...visual studio and games on one, and everything else on the other :)

VS works better than fine... it works smoother on my MBP than the Xeon 3Ghz I have at work. :)

I am part of a (MS) team that uses Visual Studio Team Suite, and our projects are fairly large. No issues on the MBP with VS so far. Heck, a few fellow employees have actually gotten the company to pay for a MBP for work use because it can run Windows... go figure. :)

Edges
Jun 7, 2006, 03:52 PM
That's great to hear Krevnik!

mhitendra
Jun 26, 2006, 02:51 AM
Dear Edges,

I too am planning to buy a new notebook and was exploring the options I had. I am a programmer and need the notebook to run VS, MSSQL server, Apache, etc.

I was looking at Asus, HP, till somebody told me to go for Macbook pro. Since, you have already used it, and I have never used Mac till date. Can you let me know how easy would it be to get used to Mac and will it perfectly fit my requirements than the other PC laptops around?

How would it be in comparision to performance with a dual core 2Ghz Windows Dell laptop?

Thanks for your suggestions in advance.

Regards

Hitendra

Krevnik
Jun 26, 2006, 12:23 PM
Dear Edges,

I too am planning to buy a new notebook and was exploring the options I had. I am a programmer and need the notebook to run VS, MSSQL server, Apache, etc.

I was looking at Asus, HP, till somebody told me to go for Macbook pro. Since, you have already used it, and I have never used Mac till date. Can you let me know how easy would it be to get used to Mac and will it perfectly fit my requirements than the other PC laptops around?

How would it be in comparision to performance with a dual core 2Ghz Windows Dell laptop?

Thanks for your suggestions in advance.

Regards

Hitendra

Well, if you are talking a 2Ghz Core Duo Dell vs a 2Ghz Core Duo MacBook... Windows on either is gonna be pretty decent when you are talking about performance. Either is gonna be close to on par with a desktop 3Ghz Xeon (HT, Single-core), or a 2800+ Athlon MP (Dual-proc) setup. In other words: Not on par with the absolute latest Xeon or AMD64 setup, but still beefy enough to compile fairly large projects in under 20 minutes. Compiling something like, oh... WinCE from scratch... is still on the order of 3-6 hours.

displaced
Jun 26, 2006, 12:50 PM
I use VS2005 in both BootCamp (winXP) and Parallels (win2k) on a 2GHz MacBook Pro.

Runs like a dream in BootCamp. Speed in Parallels is acceptable, although it would be improved greatly by upping the RAM to 2GB. VS2005 *loves* RAM, and in Parallels on a 1GB machine, there's really not quite enough to spare.

If you're developing for Smart Devices and fancy giving Parallels a try, you might want to test Parallel's USB support for the device's synch cradle. My HTC devices seem to work just fine, but I've read stories to the contrary.

geodome
Jun 28, 2006, 08:47 AM
Dear Edges,
I was looking at Asus, HP, till somebody told me to go for Macbook pro. Since, you have already used it, and I have never used Mac till date. Can you let me know how easy would it be to get used to Mac and will it perfectly fit my requirements than the other PC laptops around?

Get a Mac. It runs both OS X and Win XP. MBP has one of the best video card for laptops - ATI X1600.

Phil A.
Jun 30, 2006, 12:52 PM
Has anyone ever tried installing .Net Framework and Visual Studios on their MacBook Pro? Any luck?
I run VS2003 and VS2005 on Windows 2003 in parallels on my MBP (2.16Ghz, 2GB Ram) and it's the best Windows Dev machine I've ever used!

atmenterprises
Jun 30, 2006, 08:29 PM
I run VS2003 under Parallels on my 1.83GHz Intel iMac. Runs flawlessly.

Staffochi
Jul 3, 2006, 08:51 PM
I hope this isn't too off-topic. As a non-developer and a Mac guy from way back, I'll admit upfront to being somewhat confused by the various technologies under the .Net umbrella. My interest is in running .Net applications on OS X. Granted, I can run any windows program via bootcamp, or more likely Parallels (and, eventually, using Wine or Crossover Office) but that's not really what' I'm looking for.

As I understand it, current MS offerings, such as MS CRM 3.0, are written in .Net. Does this mean that if I have Mono installed on OS X that I'll be able to run (or at least access) CRM? I suspect not. Simillarly, I have a back end system that relies on Sharepoint (MS BusinessPortal). I believe it too is written using .Net.

Once Wine is fully functional I'll hopefully be able to just run IE 6 (or 7) under OS X and do what I have to in the above applications.

Again, I'm almost certainly oversimplifying the .Net equation. If I understood all of the dependencies (i.e. some applications require active X, some don't, some will only run in IE regardless of platform, Sharepoint services are supported on OS X, Sharepoint is not, etc) I wouldn't be asking what may turn out to be a rather dumb question.

Since I'm already down the path, I might as well throw in my confusion over the reference to .Net as a web services platform. Anyone want to comment on this? If web services are typically SOAP and XML, where does .Net come in and why won't applications thus developed work with OS X as client?

Thanks in advance.
- Rich

Palad1
Jul 4, 2006, 04:24 AM
It is really easy.

.Net == Java

Small differences:

.Net started 5 years after Java, so it's heavily copied (CLR==JVM CLI==BYTECODE, Java.Text.StringBuffer == System.Text.StringBuilder... there is no arguing on this). But it is a bit more modern, as it didn't need to drag backward compatibility (Java5)
.Net is a Microsoft product(line ?) thus it's heavilly tied to the Windows OS. Think registry integration, services dependencies, COM+ tie-ins and such.
.Net applications are divided in two camps: Client applications (winforms and such) which require a windows guest OS, and Server Side apps which require a Windows-based server host.
The only publicly available Microsoft .Net CLR is windows-based, whereas Java has JRE for a whole range of OSes. There is an OSS based CLR implementation, but it's not 100% complete (http://www.go-mono.net) and requires GTK+ / X11 to run client apps.


So to sum it up, if you want to run .Net apps on OSX, you can either use parallels to run a Windows VM, pray fore CodeWeavers to release a Mac Xover soon, use Darwine, or install Mono (as well as X11 & GTK+ if you plan on using client-side apps).

Regarding Web Services, .Net Webservices can be consumed by any Soap-compliant OSX Client application. Well, as long as your webservice conforms to the first layer (ie: no object graphs as parameters, no soap attachments, watch-out for https, and such...)