C
C#2y ago
n8ta

VS Mac bindgen error

I've used objective sharpie to generate a c# wrapper around an obj-c library following https://learn.microsoft.com/en-us/xamarin/cross-platform/macios/binding/objective-sharpie/ When I go to build my project with vs mac I receive this: error BI1042: bgen: Missing '[Field (LibraryName=value)]' for {0} (e.g."__Internal") as part of the _GenerateBindings target. What does this mean? There's no associated line number and I'm not clear on what this task does.
Creating Bindings with Objective Sharpie - Xamarin
This section provides an introduction to Objective Sharpie, Xamarin's command line tool used to automate the process of creating a binding to an Objective-C Library
1 Reply
n8ta
n8taOP2y ago
Resolved. I looked through all my bindings that had [Field] and I didn't need any of them so I just removed.
Want results from more Discord servers?
Add your server