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
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,...
The text was updated successfully, but these errors were encountered:
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,...
The text was updated successfully, but these errors were encountered: