Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

649
Vistas
Could not find file obj\Debug\100\android\assets\Xamarin.Auth.dll.mdb'

I have developed a xamarin app and I got this error 'Could not find file obj\Debug\100\android\assets\Xamarin.Auth.dll.mdb' while debugging Visual studio 2019. It occured after VS update 16.9.1. There is no issue if i build the app in release.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

I had exactly the same issue following the 16.9.1 update. After much frustration and trying everything I could think of including the suggestions in the other answers I found that this is actually a known issue introduced by Xamarin.Android 11.2.0.21 which ships with VS 16.9.1.

The problem seems to be caused by an update to fast deployment which requires .mdb debug files instead of the old .pdb symbols for Android projects.

To fix you need to update any NuGet packages which still use the old pdb symbol files in the hopes that they have been changed to use mdb debug files. In my case this wasn't possible, so the workaround is to add the following lines to your Android csproj just above the </Project> tag:

<Target Name="_RemoveMdbFiles" BeforeTargets="_Upload">
<ItemGroup>
    <_Temp Include="%(_ResolvedSymbols.Identity)" Condition="'%(_ResolvedSymbols.Extension)' == '.mdb'" />
    <_ResolvedSymbols Remove="@(_Temp)"/>
</ItemGroup>

If this workaround also isn't an option for you, I think the only other resolution would be to downgrade to VS 16.8.x.

EDIT: Seems to be fixed in VS 16.9.2 update.

Src: https://docs.microsoft.com/en-us/xamarin/android/release-notes/11/11.2#known-issue-fast-deployment-and-mdb-files
https://github.com/xamarin/xamarin-android/issues/5631#issuecomment-794289675

over 4 years ago · Santiago Trujillo Denunciar

0

A workaround is to create a file called Xamarin.Auth.dll.mdb. I just created a copy of Xamarin.Auth.dll and renamed it. It does not solve the underlying problem but at least I'm able to debug. Not sure if this have any side effects but so far so good...

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda