question

Nilo-8325 avatar image
1 Vote"
Nilo-8325 asked Nilo-8325 action

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. This occur only mode debug, in mode release is ready.

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you using Xamarin.Auth in your project ? If so try to update VS and Xamarin.Auth to the latest , delete bin and obj folder and rebuild , if problem persists you could downgrade the Visual studio and consider raising the issue : https://github.com/xamarin/Xamarin.Auth/issues .

0 Votes 0 ·

1 Answer

Nilo-8325 avatar image
1 Vote"
Nilo-8325 answered ColeXia-MSFT commented

Thank you for you answered, I try your suggest but I had the same problem, read some section and add the following to my application, csproj after the tag </Project> :

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

This now worked for me. Thank you very much.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.