Can I use CsWin32 to open the FileOpenDialog from a console application? #671
Unanswered
MikeYeager
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I believe you'll have to also request generation of the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't want to bring in WinForms or WPF just to get to the FileOpenDialog. I could figure out how to manually PInvoke, but simplifying that that seems to be what this project is for. When I add FileOpenDialog to the NativeMethods.txt file in my .NET 6 console app, all it generates is this:
But the class is unusable. It just instantiates an object with no real methods or properties on it. Is this something I can even do with CsWin32?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions