Closed younkin427 closed 4 years ago
Seeing the same thing here. It's probably not strictly Xamarin-related, but more likely something wrong with the NuGet package itself.
Figured out a workaround.
The issue is that the package (the DLL) isn't getting referenced automatically, which it definitely should.
You can manually edit references, then browser to packages/SimpleReader and select the DLL, after which it should start working again.
I’m currently not in a position to fix this (hospitalized; nothing too bad though). Will have a look at this as soon as I can. PR’s are welcome.
Sorry didn’t mean to close... 😬
Update: simply adding a reference manually isn't enough, as it looks like it's still not getting included in the compiled app:
Could not load type of field 'SimpleFeedReader.DefaultFeedItemNormalizer:CS$<>9__CachedAnonymousMethodDelegate2' (3) due to: Could not resolve type with token 01000019 (from typeref, class/assembly System.ServiceModel.Syndication.SyndicationLink, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) assembly:System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.ServiceModel.Syndication.SyndicationLink member:<none>
@RobThree No worries, get better soon! I'll see if I can whip up a quick PR in the mean time.
Not sure I have the time, unfortunately, as this would most likely need to be migrated to .NET Standard (2.0), which would also mean switching to the new .NET Standard compatible syndication feed reader/write, available here: https://github.com/dotnet/SyndicationFeedReaderWriter
See #11
Xamarin is not registering SimpleFeedReader. Is there any way this can be fixed?