© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
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
Creating Bindings with Objective Sharpie - Xamarin
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Error on VS Code on M1 Mac
C#CC# / help
2y ago
❔ VS For Mac Code Coverage
C#CC# / help
3y ago
VS Error
C#CC# / help
2y ago
❔ cannot add references in VS for mac
C#CC# / help
3y ago