Skip to content

[linker] OpenTK not fully stripped away #5275

@VincentDondain

Description

@VincentDondain

Steps to Reproduce

  1. Open the attached sample.
  2. Build for device.
  3. Open the .app, search for the OpenTK dll and open it in VS for Mac's assembly browser (drag and drop).

Expected Behavior

Since we're only calling Color we shouldn't have all the junk that's in this screenshot:

screenshot 2018-12-13 18 19 22

Note: Xamarin.iOS.dll also has a bunch of things that should probably have been linked away because of OpenTK.

Actual Behavior

Many things aren't linked away.

Environment

https://gist.github.com/VincentDondain/390f1d6f63fefeabfc9d8c2adbfde397

Build Logs

https://gist.github.com/VincentDondain/c42db086881155d6f2e865bef7bb95a9

Example Project (If Possible)

LinkerTest.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue or pull request is an enhancementiOSIssues affecting iOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions