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

Third-party components report errors under nativeaot #1117

Open
DragonXYZ opened this issue Feb 13, 2025 · 0 comments
Open

Third-party components report errors under nativeaot #1117

DragonXYZ opened this issue Feb 13, 2025 · 0 comments

Comments

@DragonXYZ
Copy link

I tried to generate a nativeaot program and got an error when running it
error message:

Unhandled exception. System.NotSupportedException: 'AsyncIO.Windows.AcceptExDelegate' is missing delegate marshalling data. This can happen for code that is not compatible with AOT. Inspect and fix AOT related warnings that were generated when the app was published. For more information see https://aka.ms/nativeaot-compatibility at Internal.Runtime.CompilerHelpers.RuntimeInteropData.GetForwardDelegateCreationStub(RuntimeTypeHandle) + 0x6d at System.Runtime.InteropServices.PInvokeMarshal.GetDelegateForFunctionPointer(IntPtr, RuntimeTypeHandle) + 0x71 at AsyncIO.Windows.Socket.LoadDynamicMethod[T](Guid) + 0x8c at AsyncIO.Windows.Socket.Listener..ctor(Socket) + 0x44 at AsyncIO.Windows.Socket.Listen(Int32) + 0x36 at NetMQ.Core.Transports.Tcp.TcpListener.SetAddress(String) + 0x1b2 at NetMQ.Core.SocketBase.Bind(String) + 0x286 at NetMQ.NetMQSocket..ctor(ZmqSocketType, String, NetMQSocket.DefaultAction) + 0x2ae

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