-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MissingMethodException #183
Comments
So using .NET Standard 2.0 could solve this issue? |
Moving to .NET Standard 2.0 helped to solve this issue. Now everything works as I expected using both solutions. Thanks for help and your contribution to this project! |
@holmes000 For 1.7.x the most stable is .NET Standard 2.0 and .NET Core 2.2. Others above are case-specific. But this can be improved later. Follow the news. |
Hello, I'm trying to use WPF in a C# dll with exported functions. To use WPF functions, afaik calling thread must be STA, so I have two solutions:
Either way I have to use System.Threading to create new STA thread or check current thread apartment state (to be sure no one called exported function from non-STA thread).
Here's simplified code of what I'm trying to do (using solution 1):
But when calling this function from C++, I'm getting MissingMethodException:
There are no errors/warnings on C# compilation.
What can be causing this exception?
The question is related to:
DllExport -version
: 1.7.4.29858+c1cc52fData
tab:The text was updated successfully, but these errors were encountered: