Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to work with something like WPF with C# in OS X?

Can you work with some C# framework like Windows Presentation Foundation (WPF) in OS X without installing a virtual machine with Windows? For example, using Wine can run .exe and also creates a virtual registry. I can create other partitions on my hard disk using BootCamp and install Windows. I can create a virtual Windows using Parallels Desktop or VMware Fusion, but it's not native working like another application in OS X running just one OS.

We can work in C# using MonoDevelop (now XamarinStudio) but can not work with WPF.

Then, you can install Microsoft Visual Studio on Mac and work with WPF and/or Silverlight?

like image 228
dayanruben Avatar asked Feb 10 '12 16:02

dayanruben


People also ask

Can C++ be used with WPF?

You can use WPF with C++/CLI. It is a . NET API, however, so it requires the . NET Framework.

What programming language does WPF use?

WPF is part of . NET, so if you have previously built applications with . NET using ASP.NET or Windows Forms, the programming experience should be familiar. WPF uses the Extensible Application Markup Language (XAML) to provide a declarative model for application programming.

What is WPF being replaced with?

Universal Windows Platform. Both Windows Forms and WPF are old, and Microsoft is pointing developers towards its Universal Windows Platform (UWP) instead.

Is WPF in C#?

The latest version of WPF is 4.6. In this framework, UI of the application is designed in XAML language and Application logic is Written in C# programming language. Features of WPF are as following: Extensible Application Markup Language (XAML)


2 Answers

You can't work with WPF on Mac.

Mono currently doesn't support WPF because it's really hard to implement (WPF rendering is tied to the graphic card in some ways).

Maybe you want to try Moonlight (implementation of Silverlight for UNIX-based systems).

like image 123
ken2k Avatar answered Sep 28 '22 00:09

ken2k


Silverlight applications run on MAC OS in Safari or Firefox browsers Silverlight plug-in for MAC OS. Mono also has a version of Silverlight named Moonlight for Linux plarforms. No WPF on MAC OS. There is no development environment on MAC OS for Silverlight to my knowledge, just Silverlight apps running in browser.

like image 41
mircea Avatar answered Sep 28 '22 00:09

mircea