- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a RealSense .Net Core project that works fine.
When I generate a single-EXE file with the ILC (https://devblogs.microsoft.com/dotnet/the-net-native-tool-chain/) it fails when creating the config with this error:
System.Exception: Method '[Intel.RealSense]Intel.RealSense.NativeMethods.rs2_create_config(object&)' requires marshalling that is not yet supported by this compiler.
at Intel.RealSense.NativeMethods.rs2_create_config(Object&) + 0x34
at Intel.RealSense.Config..ctor() + 0x23
at RealSenseStreamer.BaseStreamer.FrameGrabber() + 0x5d
Is .Net Native supported?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could not find a definitive answer through researc, though I did note a case earlier this year where it was reported that a change in the C# wrapper introduced a dependency on the full .NET Framework.
https://github.com/IntelRealSense/librealsense/issues/3419
If you believe that this is not related to your problem, I would recommend re-posting your question at the RealSense GitHub site, whose RealSense staff may be best equipped to answer your C# question. You can do so by visiting the link below and clicking the 'New Issue' button.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could not find a definitive answer through researc, though I did note a case earlier this year where it was reported that a change in the C# wrapper introduced a dependency on the full .NET Framework.
https://github.com/IntelRealSense/librealsense/issues/3419
If you believe that this is not related to your problem, I would recommend re-posting your question at the RealSense GitHub site, whose RealSense staff may be best equipped to answer your C# question. You can do so by visiting the link below and clicking the 'New Issue' button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marty,
as usual, thanks for your ultra-prompt reply, I'll repost over on GitHub as you suggest.
😉

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page