What can i use when platform not supported for OpenFileDialog in C#
Hello I'm using below code to get for open file dialog but i'd like to know is there any solution to use different open file dialog can support platform.
So can anyone help me to complete catch section of below code?
I wonder are there any general platform functions which has scope all Windows versions
Eduard Ghergu
Hi,
The defined scope is too broad. There is not possible to support all Windows versions (16,32,64-bit, Mobile, ARM). You'll need to be more specific.
Hi,
There is no direct support for UI development, cross-platform, in .NET. There are some alternative projects, but nothing native, to call it like this. However, you can have a look at Mono, instead. https://www.mono-project.com/docs/gui/
This project is under Microsoft's .NET umbrella, but there is some long road ahead till it will get fully integrated with the framework.
which platforms are you targeting? Usually, your UI will be recreated for various platforms because the look is totally different. You can reuse the same business layer but with different UI.
Mono is not really dead as long as Xamarin was targeted for mobile platforms. In a couple of years probably it is going to be discontinued when .Net 5.0 will hit the market (the latest greatest that it's aiming to unify all the .Net versions and incarnations). In the end, probably they will favor WPF over other technologies, but we'll see.
What platform are you referring to?