A few months ago I heard “Visual Studio is coming for Mac.” At first, I did not believe the person who told me. But once I gained confidence in their sensibilities, I was thrilled. And now that it has arrived well, it really isn’t Visual Studio for Mac. This is Visual Studio Code. The idea was great. Visual Studio for Mac is a new member of the Visual Studio family, enabling developers on macOS to build apps for mobile, web, and cloud with Xamarin and.NET Core, as well as games with Unity.
Creating a simple Visual Studio Code task for building C/C++ code To follow this specific section you can go ahead and download this helloworld C++ source folder. If you run into any issues you can always cheat and download the same C++ source folder with a task pre-configured. Visual Studio Mac is a mobile-first, cloud-first IDE. Everything you need for mobile, cloud and Mac development. Download Visual Studio for Mac today. The.NET framework and Visual Studio enable you to develop data-centric, modern line of business applications (LoB) for Windows. Create visually stunning user experiences with WPF or use WinForms productive WYSIWYG designers to incorporate UI, media, and complex business models.
Sophisticated students with refined palates may find themselves using Apple Macintoshes, and wish to compile and run C++ programs on their machines. Because Microsoft's Visual Studio only runs in the Windows environment, however, it is impossible to use Visual C++ directly on a Macintosh. Visual Studio for Mac is a new member of the Visual Studio family, enabling developers on macOS to build apps for mobile, web, and cloud with Xamarin and.NET Core, as well as games with Unity. Microsoft says developers can use Visual Studio for Mac to create “Android, macOS, iOS, tvOS, watchOS, web, and cloud” apps.
Can i create application in visual studio that can be run on Mac, windows and iOS? My client asked me to create a line of business application that can be run on Mac, Windows or iOS through one click installation, and his precious application was developed as a Windows application in C#, that currently runs only on windows.I have seen xamarin, is any other option?Any help or suggestion would be greatly appreciated. Thanks.
yadavryadavrclosed as not constructive by ChrisF♦, bryanmac, Michael Edenfield, Wooble, EmilMar 2 '13 at 23:21
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
4 Answers
Mono is a cross platform, open source .NET framework that will work for this.
ace
MusiGenesisYes and NO ;)
it's possible (and brand new) through Visual Studio and Mono (as far as I understood it is an open source implementation of .NET) but you will still need a mac to compile the iOS / OSX versions, an iPhone/iPad/iPod touch to test on device, etc.
Honestly, I would go with creating an OSX app, iOS app and Windows app separately. Willing to do everything at once is nice (and often a cost question) but it is not a real option (unless cost is the major concern).
Even between iOS and OSX there are numerous differences, different concepts (option to have multiple windows on OSX / only one in iOS, different API even for common stuff, the 'touch' of an iOS app will make you work differently, screen size will make you think of different functionalities or not all would fit in the iOS app). 'UserFriendlyness' is a thing to take into account. a windows user and a mac user are not used to same interface, same application concepts, gestures on phones or trackpads, mac apps are generally not using the (F1,F2, etc. keys), etc.
There are stuff like phoneGap (ok not the desktop part of your question) that says everything works on all phones but it does not benefit of the advantages of a plateform, it goes to the lower common denominator, meaning that your app is often less efficient than if made natively.
Even more hazardous, you inherit from bugs of these tools, and some can be really tricky to understand (is there a problem in my code, in phoneGap/xamarin ?) and you could loose much time on stuff like these.
In the end it's just a matter of cost.
Even Excel from Microsoft is different between OSX and Windows plateforms, they even fixed a bug in excel 2011 for mac, that is still present in windows versions ;) (they have different business units if I remember correctly)
So yes, business logic, but mac apps is not only objective-C, you can import/work with C or C++ files in Xcode.
just my 2 cents.

You can create a web-application, which are machine, architecture independent.
Or you need to create two different platform application for Windows and one for Mac OSX, both sharing same database stored in some server or any kind of machine.
Anoop VaidyaAnoop VaidyaAs MusiGenesis suggested, Mono would probably do the trick for you. You will still need Xamarin's MonoTouch for iOS support but if you separate your business-logic to a separate assembly that could easily be reused.
Mac Version Of Visual Studio
You might also want to consider making two different projects for the desktop editions, one with MonoMac and one with WPF (for Windows) to give your users a better experience but still with the actual logic in a separate assembly that you can reuse for all platforms.