You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler does not ship with ARM versions of Microsoft.DiaSymReader.Native and thus does not support Windows PDBs on ARM.
Either
include ARM binaries to support .NET Framework targeting projects and update SymUnmanagedWriterFactory.CreateWriter to load them.
Report better error in SymUnmanagedWriterFactory.CreateWriter when running on ARM. Current error: error CS0041: Unexpected error writing debug information -- 'An attempt was made to load a program with an incorrect format. (0x8007000B)'
See pdbonly fails on Arm64 sdk#23838.
I think we need [1] so that we can build legacy projects targeting .NET Framework ARM64.
In addition, we should consider reporting warning from our msbuild targets when DebugType is set to Full or PdbOnly in .NET 7+ project. The warning would recommend using Portable PDBs.
Once we implement and run all tests we should also mark DSRN package "release".
Tasks list
DSRN package that has the .arm64 extensions
symreader version that supports ARM64. This is used by Pdb2Xml in unit tests.
The compiler does not ship with ARM versions of Microsoft.DiaSymReader.Native and thus does not support Windows PDBs on ARM.
Either
SymUnmanagedWriterFactory.CreateWriterto load them.SymUnmanagedWriterFactory.CreateWriterwhen running on ARM. Current error:error CS0041: Unexpected error writing debug information -- 'An attempt was made to load a program with an incorrect format. (0x8007000B)'See
pdbonlyfails on Arm64 sdk#23838.I think we need [1] so that we can build legacy projects targeting .NET Framework ARM64.
In addition, we should consider reporting warning from our msbuild targets when
DebugTypeis set toFullorPdbOnlyin .NET 7+ project. The warning would recommend using Portable PDBs.Once we implement and run all tests we should also mark DSRN package "release".
Tasks list