I am trying to open the file dialog in my WPF application which is a .Net Core app and uses a .Net Standard Library where all my code lives. However, when I tried the OpenFileDialog() method which inherits from Microsoft.Win32 namespace, it says "the name OpenDialog does not exist in the current context" and that is the recurring error even after adding the namespace manually. However. when I tried this in my .netcoreapp, it works just fine. Bringing me to the conclusion that this is probably a problem with .netstandard only. My question is what is the best fix to this, I cannot put the code in my .NetCore WPF app, so the only other alternative is to create a new project for the sole purpose of opening the file dialog which I find a bit too much. Please does anyone have any alternatives, or perhaps I am doing things wrong. I would appreciate all your contributions.