-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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:
- https://github.com/dotnet/sourcelink#using-source-link-in-c-projects
- https://docs.microsoft.com/en-us/windows/win32/debug/source-server-and-source-indexing
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
Labels
No labels