public static IDisposable ToPropertyChanged<TSender, TParent, TRet, TRet2>(
this IObservable<IObservedChange<TSender, TRet>> changeObservable,
TParent owner,
Expression<Func<TParent, TRet2>> parentProperty) where TParent : MvxNotifyPropertyChanged
{
return changeObservable.Subscribe(value =>
{
var expression = (MemberExpression)parentProperty.Body;
var name = expression.Member.Name;
owner.RaisePropertyChanged(name);
});
}
Here is a simplified project demonstrating the problem.
I'm trying to use Tracer.Fody to rewrite a netstandard2.0 class library assembly, but at build time the error I get is :
```
Fody: An unhandled exception occurred:
Exception:
Could not load file or assembly 'Mono.Cecil, Version=0.11.0.0, Culture=neutral, PublicKeyToken=1ca091877d12ca03'. The system cannot find the file specified.
Type:
System.IO.FileNotFoundException
StackTrace:
at InnerWeaver.Execute()
at Processor.ExecuteInOwnAssemblyLoadContext() in C:\projects\fody\Fody\Processor.cs:line 148
at Processor.Inner() in C:\projects\fody\Fody\Processor.cs:line 122
at Processor.Execute() in C:\projects\fody\Fody\Processor.cs:line 50
Source:
FodyIsolated
TargetSite:
Void Execute()
Hi, I'm trying to upgrade Fody from version 3.3.5 to the latest 6.6.0 but i'm hitting an error where it says WeaverEntry doesn't contain a reference for AssemblyName and I can see in the git commit history that WeaverEntry was completely changed after 3.3.5 and there is no replacement for the AssemblyName (or its not apparent from the new code or any commit messages)
does anyone know how I can set the assembly name still on the weaver entry?
Hi there,
I'm trying to use Fody.EmptyConstructor on my Domain project without introducing the dependency to Fody in there.
My Business project has a reference to the Domain project. Ideally the dependency to Fody should be in my Business project. Is this possible and how?
Thanks for any suggestions.
On stackoverflow:
https://stackoverflow.com/questions/72088286/use-fody-emptyconstructor-on-a-separate-project