Open marcoburato opened 8 months ago
I get the same error message when using /p:PublishSingleFile=true option on a Windows machine.
See devblog for more info about this feature.
One workaround is to use <DebugType>embedded</DebugType>
in main project and all projects referenced, whether directly or transitive. So that every assembly, that is inside the single file app bundle, has its debug symbols embedded into the assembly instead of information about linkage to a PDB file.
Unfortunately this workaround isn't possible for NuGet package references, as most packages contain only assemblies without embedded debug symbols.
Describe the Issue
When debugging a certain project in .NET 8, the symbols of a referenced project are not getting loaded, so breakpoints will not hit. The debug console shows:
Translated: "Symbols loading disabled by Include/Exclude setting." (is there a way to avoid localisation of error messages?)
I don't recall experiencing this problem when I tried debugging the project built with .NET 7. The issue also doesn't happen if I try to debug a .NET 8 console app.
Steps To Reproduce
// MainForm.cs using Eto.Forms; using Eto.Drawing;