dotnet / dotnet/macios

IDEs/MSBuild targets don't support the 'LinkTarget' property for binding projects

Open
#5,220 1 comment 2 reactions 0 assignees View on GitHub
enhancement iOS macOS
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

The `LinkWith` attribute has a `Dlsym` option: https://github.com/xamarin/xamarin-macios/blob/b1feb2fd75a2e4b61e2e6d82fb4b3b7e74334292/src/ObjCRuntime/LinkWithAttribute.cs#L113-L115

This 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.