Skip to content

System.NotSupportedException: Unsupported parameter type in method SapNwRfc.Internal.Interop.RfcInterop+RfcFunctionDescriptionCallback.Invoke #106

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

Open
Qiulin-Git opened this issue Apr 7, 2025 · 0 comments

Comments

@Qiulin-Git
Copy link

Cannot use models with SapName on Blazor WebAssembly
Debugging is normal, but there is an error when publishing

严重性 代码 说明 项目 文件 行 禁止显示状态
错误 “ManagedToNativeGenerator”任务意外失败。
System.NotSupportedException: Unsupported parameter type in method 'SapNwRfc.Internal.Interop.RfcInterop+RfcFunctionDescriptionCallback.Invoke'
在 PInvokeCollector.CollectPInvokes(List1 pinvokes, List1 callbacks, HashSet`1 signatures, Type type)
在 PInvokeTableGenerator.ScanAssembly(Assembly asm)
在 Microsoft.WebAssembly.Build.Tasks.ManagedToNativeGenerator.ExecuteInternal(LogAdapter log)
在 Microsoft.WebAssembly.Build.Tasks.ManagedToNativeGenerator.Execute()
在 Microsoft.Build.BackEnd.TaskExecutionHost.Execute()
在 Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() QiuLin.WebHost 0

Image

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