Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Using Xamarin.iOS 10.8.0.174, the _ConvertDebuggingFiles task creates a file named ".pdb" next to the csproj file.
This is caused by _ConvertDebuggingFiles where:
<Copy SourceFiles="@(_ReferencedDlls -> '%(FullPath).mdb')" DestinationFiles="@(_ReferencedDlls -> '%(FinalOutputPath).mdb')" Condition="Exists('%(FullPath).mdb')" />
creates that file, which is particularly visible when using cross-targeted projects, that auto-include files in the project directory.
A possible workaround is to replace the mentioned line to:
<Copy SourceFiles="@(_ReferencedDlls -> '%(FullPath).mdb')" DestinationFiles="@(_ReferencedDlls -> '%(FullPath).mdb')" Condition="Exists('%(FullPath).mdb')" />
That `Copy` task is not being used in the `_ConvertDebuggingFiles` in Xamarin.Android . And it is not present in Xamarin.iOS.
- Are you building this with xbuild or msbuild?
- Command line or IDE?
- Could you please share more details of the project that you are building and include a full diagnostic build log?
- If you are building from the command line, then add `/fl /flp:v=diag` and attach the generated msbuild.log
- If you are building from Xamarin Studio/VSMac, then enable diag logging from `Preferences -> Projects -> Build -> Log verbosity`
This is the current `_ConvertDebuggingFiles` and I couldn't find the line that you mentioned in the commit history either. https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets#L2339-L2345