Xamarin Android mSYM for android project non-existent.

Joshua Tanton 1 Reputation point
2021-09-03T21:38:16.323+00:00

I've done the following the .csproj file.

<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>false</Optimize>
<AndroidManagedSymbols>true</AndroidManagedSymbols>
<MonoSymbolArchive>True</MonoSymbolArchive>

after a build, the .mSYM folder does indeed exist in the bin/Debug folder. There are plenty of folders for the various files. However, there is only one folder for the android project itself containing the Project.dll and Project.pdb files.

The problem with this is when i go to symbolicate a crash report. I'm able to get the line numbers for all files outside the project itself. Any file inside the project does not exist in the mSYM. Is it possible to have folders generated for each file inside the project? How do I do this? Any help here would be helpful.

(note for some reason I can't find the Xamarin.Android tags)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes