Visual Studio For Mac Winforms

Active1 year ago

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.

Visual Studio for Mac will now format your code following the conventions specified in the.editorconfig file. This will allow you to set your coding style, preferences, and warnings for your project; making it simpler for code that you contribute to other projects to follow the practices of those projects.

yadavryadavr
7443 gold badges15 silver badges36 bronze badges

closed 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
2,3951 gold badge14 silver badges33 bronze badges
MusiGenesisMusiGenesis
62.1k35 gold badges170 silver badges313 bronze badges

Yes 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)

Visual studio for mac windows

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.

Visual
moxymoxy

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 Vaidya
43.1k13 gold badges96 silver badges125 bronze badges

As 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.

Download Visual Studio For Mac

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.

Karl-Johan Sjögren

Visual Studio For Mac Winforms Online

Karl-Johan Sjögren
11.8k4 gold badges48 silver badges59 bronze badges

Visual Studio For Mac Download

Not the answer you're looking for? Browse other questions tagged c#ioswindowsmacosxamarin.mobile or ask your own question.