Skip to content
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

runtimes/linux-x64/libMono.Unix.so is missing compiling asp.net... #29

Open
jmoyola opened this issue Sep 19, 2022 · 0 comments
Open

runtimes/linux-x64/libMono.Unix.so is missing compiling asp.net... #29

jmoyola opened this issue Sep 19, 2022 · 0 comments

Comments

@jmoyola
Copy link

jmoyola commented Sep 19, 2022

My app is created, compiled and executing in a linux-x64 mono platform under asp.net, but with nuget package (not with older mono.unix mono.posix mono dll) my app throw a exception when try to access to serial ports:

The type initializer for 'Mono.Unix.Native.Syscall' threw an exception. Exception calling to function 'GetFileStatus' in 'Mono.Unix'
runtimes/linux-x64/libMono.Unix.so assembly: type: member:(null) Exception

app throw a exception can't found libMono.Unix.so static library.

Compiler don't find static library, but in bin folder and "runtimes/linux-x64" subfolders exists.

If have create a non asp.net app (a console app) and all run ok...

Issue can be for dynamic compilation in asp.net? i remember asp.net have a dynamic compiler and compile each asp.net controller in temporal folders...
if package try find "runtimes" folder like subfolder of temporal will can't find it...

I try to copy libMono.Unix.so in /usr/lib or /lib folder, but can't find it... (i think always try to find in subfolder runtimes)

Where can put libMono.Unix.so for find it...?

Thaks you,...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant