Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Development on a Mac Tips

I have just got a MacBook Pro and have been using it (+Fusion) to develop on for about a month now. The purpose of this question is similar to Hidden Features of C#; to become a how-to of tips and trick for windows development on a mac.

I should clarify that I am aware of boot camp but do not use it (nor do I have any interest to), hence my use of steady state to make sure nothing happens to my OS partition without my knowledge. However; as Sara pointed out, Apple makes great hardware and I absolutely LOVE the form factor of my MBP so for someone who is looking for a windows only laptop a mac with boot camp should not be overlooked as the hardware is amazing.

My environment is as follows
* MacBook Pro 15" 2.4Ghz 2GB RAM (Going to upgrade to 4GB soon)
* VMWare Fusion 2.0 Beta
* Windows XP Pro SP3 (Slipstreamed BEFORE install)

Tips:
* Use Windows Steady State to keep OS consistent
* Use svn+ssh to connect to the mac for small repositories then use time machine to backup.
* Use spaces.

like image 312
Andrew Burns Avatar asked Sep 04 '08 19:09

Andrew Burns


People also ask

Can I do .NET development on a Mac?

Visual Studio for Mac provides integrated support for developing and deploying your microservices using Docker containers. Containerize your . NET app by adding support right from the Solution window.

Is Mac good for C# development?

While C# is tied to the Windows environment, it's cross-platform so that you can learn it just as well on a Mac as a PC, and it opens many doors in the industry.

Can .NET framework work Mac?

The . NET (initially called . NET Core) was released in 2016 as the modular, lighter, cross-platform alternative. It therefore works on Windows, Linux, MacOS.


2 Answers

@Andrew - I'm exactly in your situation. I use a MBP while my company work is purely Microsoft based: i.e., .NET, COM etc. While nothing can beat running Vista natively in Boot Camp (I've never seen Vista run so fast), the niceties of having your Mac OS be the "main" OS, for internet, mail etc. has gotten me to the following configuration. Works like a charm:

Hardware

  • Load up your MBP with the max possible - 4GB. It's really worth every $.
  • Upgrade your hard drive (if not already) to 7200RPM. Major performance boost here.

Software

  • Parallels Desktop for Mac for virtualization. You can either have multiple VM, or use a boot camp partition. The latter is supposed to be faster, but I haven't really measured it (I use it for having the option to boot natively if I really need speed). The former allows you to have multiple OS. I gave my VM 1GB memory. I can do more if you want it more snappy.
  • Micorsoft Visual Studio 2005/8 for .NET and C++. I have yet to see any IDE for .NET which beats this one. The intellisense is really amazing.
  • Code Gear (yes we have some Delphi)

For non development occasional need I also keep Microsoft Office 2007 installed. They do have MAC ports, but those don't always cut it.

like image 157
Boaz Avatar answered Sep 18 '22 14:09

Boaz


One more thing, there is a Deep Fried Bytes Podcast that is entirely about .NET development on Mac - you may find some nuggets in there too.

like image 40
t3rse Avatar answered Sep 19 '22 14:09

t3rse