You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a C# library, and it's target framework is .NET 5.0 . Also, with VS 16.11.5.
The problem I met with is I can't call the public static method which is tagged by "[DllExport]" from another C# application. It will throw a trace "cant not found method xxxx.xxx.function". If I calling the lib from native C++ , it comes to crashed.
And everything is ok when I change the lib's target frame from .NET5.0 to Framework 4.6.1.
So is there any incompatible thing happened to .NET5.0?
I also tried the simplest "int _add(int, int)" example, unfortunately the result is the same as above case.
The text was updated successfully, but these errors were encountered:
I have a C# library, and it's target framework is .NET 5.0 . Also, with VS 16.11.5.
The problem I met with is I can't call the public static method which is tagged by "[DllExport]" from another C# application. It will throw a trace "cant not found method xxxx.xxx.function". If I calling the lib from native C++ , it comes to crashed.
And everything is ok when I change the lib's target frame from .NET5.0 to Framework 4.6.1.
So is there any incompatible thing happened to .NET5.0?
I also tried the simplest "int _add(int, int)" example, unfortunately the result is the same as above case.
The text was updated successfully, but these errors were encountered: