Commit 2a190b5
committed
[Xamarin.Android.Build.Tasks] Xamarin.Android "Clean" target does not remove old .mdb files for library projects after Xamarin 15.2 release (Mono 5.0), leading to out-of-date debugging symbols for Fast Deployment mode
Context https://bugzilla.xamarin.com/show_bug.cgi?id=57087
The latest mono has now switched over to using csc for its
compiler. So we no longer generate .mdb files but instead
generate portable .pdb files.
Our current system will favour mdb over ppdb. So this commit
adds a check so that we will ignore .mdb files if we have a
valid ppdb file present. While this does not fix the PCL
bug mentioned in 57087, it will prevent those stale .mdb
files making it into the final package or .__override__
directory.1 parent bc99850 commit 2a190b5
File tree
2 files changed
+10
-3
lines changed- src/Xamarin.Android.Build.Tasks
- Tasks
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
| 1500 | + | |
| 1501 | + | |
1501 | 1502 | | |
1502 | | - | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
1503 | 1506 | | |
1504 | 1507 | | |
1505 | 1508 | | |
| |||
0 commit comments