Closed jfversluis closed 5 years ago
Interesting changes, I thought I already enabled SourceLink, but only followed a tutorial and couldn't test it thoroughly.
Ah did you now? What did you do to enable it?
My changes were in 82c2be0c4cda89dfb9536ea7b3ed794f6df097b4. I just tested with my app, FilePicker 2.1.18 and "Just My Code" ticked off, and I couldn't step into the PickFile() call.
Probably because of this: https://github.com/jfversluis/FilePicker-Plugin-for-Xamarin-and-Windows/pull/140/files#diff-650ae36e2fbf3ea95dd2be1cafb50bd7R66
That is why I couldn’t get it working with Xamarin.Forms.
Could you test the new beta one on NuGet?
@vividos did you get around to trying if sourcelink works with this one?
Sorry, not yet, but I try it out now.
I tried SourceLink by updating to the NuGet package 2.1.30-beta, disabling "Just my code" in VS and then stepping into a PickFile() call. Unfortunately it didn't work, I couldn't get into the FilePicker's code. I also checked the package with the NuGetPackageExplorer, and it has the Repository section, as mentioned in https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink So I don't know what I'm doing wrong. Could you step into the FilePicker's code?
Hm maybe it doesn’t work yet for VS Windows with these types of projects. Leave it for now, we will look into it later :)
I'm sure I'm doing something wrong. You could compare with Xamarin.Essentials, I'm sure they got it working, but I also didn't debug into that NuGet.
Not necessarily, I think some changes are still needed in the debugger to fully support this. So maybe that hasn’t been implemented yet. I’m watching this closely for Xamarin.Forms so I will let you know when this should be good.
As I read that Xamarin Forms now supports SourceLink, we could merge this also, right?
Yep, just created a new pre-release version and used it with the latest VSMac preview bits and it worked!
Description of Change
Mainly testing this for another project, so don’t merge it, I will do it when ready :)