Update Fody package to latest version 6.0.0
Realm Fody dependency is updated to latest version 6.0.0
Current supported Fody version 4.0.2
Other libraries that have upgraded to latest Fody, resulting in issue with realm library.
NA
NA
I support this. Realm is now no longer compatible with latest version of some packages such ReactiveUI, which now has a dependency on Fody >= 6.0
Every time that I update Fody in VS for Mac, I should to reinstall Realm again, always happen
I caught error "Fody: Failed to execute weaver". Is this caused by this issue?
Fody: Failed to execute weaver C:\Users\SETUP.nuget\packagesrealm.fody\4.1.0\build..\weaver\net46\Realm.Fody.dll due to a MissingMemberException. Message: 銉°偨銉冦儔銇岃銇ゃ亱銈娿伨銇涖倱: 'Mono.Collections.Generic.Collection`1
It is, you need to downgrade your Fody version to 5.x.
We can add PropertyChanged.Fody (3.1.x) to the list of nuget packages that are now incompatible with Realm due to this.
This is a frequent issue. Why can't realm push a patch with every update in it's dependencies? Is this a big deal
We have more important issues in the backlog that we'd like to address first. We'll get to upgrading it eventually.
I am getting same error please check
Severity Code Description Project File Line Suppression State
Error Fody: Failed to execute weaver C:\Users\...\.nuget\packages\realm.fody\4.1.0\build\..\weaver\net46\Realm.Fody.dll due to a MissingMemberException. Message: Method not found: 'Mono.Collections.Generic.Collection1
`
Now the problem fody is comes with Realm itself so I can't downgrade only fody it's dependency of Realm.
Please help me to fix this.
Note : I can downgrade Realm itself but this is not right solution for me I have to do many thing in my code there are certain things I have updated with this
Why can't you downgrade Fody?
In my case, I got PropertyChanged.Fody from nuget, its Fody was ver.6, so they were conflicted.
I want to use Realm database for xamarin, I gave up PropertyChanged.Fody.
@thinkaboutcsharp Until this ticket is fixed, instead of installing the last version of PropertyChanged.Fody (3.1.1) install de nugget package for version 3.0.1 ( https://www.nuget.org/packages/PropertyChanged.Fody/3.0.1 ), which is compatible with the current version of Realm.
Why can't you downgrade Fody?
Fody is inside the Realm please check screen short

please check demo application : https://github.com/jitendrajadav/XamarinRealm
@jitendrajadav you're referencing [email protected] which is why the Fody dependency is resolved as 6.0.0. As @salgiza mentioned, you can downgrade to [email protected] to be compatible with Fody 4/5.x.
@jitendrajadav you're referencing
[email protected]which is why the Fody dependency is resolved as 6.0.0. As @salgiza mentioned, you can downgrade to[email protected]to be compatible with Fody 4/5.x.
@nirinchev Thank you for updating me I forgot to address this issue now problem is resolved by downgrading [email protected]
really appreciate
Hey - looks like you forgot to add a T-* label - could you please add one (if you have access to add labels)?