-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET: copy the pdb for our platform assembly to the .app #11879
Comments
This makes both "Source Link" and "sources embedded inside PDB" unusable for iOS, macOS, MacCatalyst (and tvOS). However this works fine with Android builds - so it might be an easy "cut and paste" solution to fix this :-)
|
according to dotnet/sdk#1458 (comment) that might be fixed (opt-in) in 7.0 |
from a quick test https://github.com/SimonCropp/Cymbal seems to work fine too |
@rolfbjarne it would be nice to include this for net8 along with enabling SourceLink and embedding the generated source code into the This would allow VSCode to debug the iOS/Mac SDK internals (including binding code) just like it already works (without any workaround) for the Android SDK. https://twitter.com/spouliot/status/1653828865221861391?s=20 c.c. @dalexsoto |
Unfortunately setting
Android's build logic is very different from ours :/ Android also implemented SourceLink support (dotnet/android#7298), which we haven't yet, but I've opened an issue for this: #18968 |
…ixes xamarin#11879. Copy the pdb for our platform assembly to the app bundle if we're in Debug mode. Fixes xamarin#11879.
Steps to Reproduce
Expected Behavior
We should bundle the Microsoft.iOS.pdb for Debug configurations, or if MtouchDebug/MmpDebug is true.
Diagnosis
This is because of dotnet/sdk#1458.
Workaround
Add this to a
Directory.Build.targets
file:but we should come up with something in our own targets files.
The text was updated successfully, but these errors were encountered: