.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
2.45k
stars
511
forks
source link
IDEs/MSBuild targets don't support the 'LinkTarget' property for binding projects #5220
Open
rolfbjarne opened 5 years ago
The
LinkWith
attribute has aDlsym
option: https://github.com/xamarin/xamarin-macios/blob/b1feb2fd75a2e4b61e2e6d82fb4b3b7e74334292/src/ObjCRuntime/LinkWithAttribute.cs#L113-L115This option should be surfaced in the IDEs for native libraries/frameworks in binding projects and supported in our MSBuild tasks.
See also: https://github.com/xamarin/md-addins/blob/329a611e87d75f7490e85dfb044757967d66720e/MonoDevelop.MacDev/MonoDevelop.MacDev/NativeReferences/NativeReference.cs#L33-L75
Step 1 is to add support in our MSBuild logic, Step 2 is to add support in the IDEs.
Originally posted by @rolfbjarne in https://github.com/xamarin/xamarin-macios/pull/5167