Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

655
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda