Skip to content

Figure out how to distribute native PDBs #5

@PathogenDavid

Description

@PathogenDavid

Because snupkg only works with portable PDBs (which are .NET-specific), we cannot use the NuGet symbol server for Mochi.PhysX.Native. As such we need to figure out our own way to distribute them.

We should also look into setting up source link for them:

Possible solutions:

  • Just distribute them in the native runtime packages
    • ✔ Simple, people will get them by default
    • ❌ Bloats the packages for something many/most people will never need (They won't even get used unless they enable mixed debugging.)
    • ❌ They end up in published builds by default
  • Distribute a separate symbol package
    • ✔ Simple, people who want them can get them
    • ❌ Easy to mix incompatible versions by mistake
    • ❌ Will end up in published builds by default
  • Host our own symbol server
    • ✔ Simple, people who want them can get them and do so automatically as-needed
    • ❌ Has increased costs for MochiLibraries
    • ❌ People need to know to set up the symbol server source
    • ❌ Not sure if there's a good self-hosting option for symbol servers. (Found a few on GitHub but nothing battle-tested. It kinda sounds like it's possible to host one purely with static files though?)

Hosting our own symbol server is my personal preference, but it's really unclear how easy it would be to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions