Open dlitfin opened 7 years ago
This is due to the fact that the current thread id is determined by calling a native method, which is not available on other platforms. I won't have time to look at this before next week. If you want to fix it yourself, you could try to replace GetCurrentThreadId()
with Thread.CurrentThread.ManagedThreadId
. If you do, please let me know whether that works, thanks!
Unfortunately, there does not seem to be a clean way to fix this right now. Apparently, there's no way to use Thread.CurrentThread.ManagedThreadId in a PCL. I then converted the whole solution to .NETStandard 1.4. While that seems to work code-wise, now the documentation build is broken, because SHFB does not support .NETStandard projects yet. Suggestions to work around the issue by referencing the assembly- and XML-files directly did not work.
Therefore, the only thing I can suggest right now is to try to compile commit 689590d and see whether that works.
Once SHFB supports .NETStandard projects, I will revisit this issue.
Code from Lawo.EmberPlusSharp.Model Namespace Tutorial on Github, worked fine on Windows using .NET SDK 4.5. On Ubuntu as well as macOS in combination with the mono framework an EntryPointNotFoundException occurs. Complete error message in the attached file. error.txt