Comments (2)
Unfortunately this is the expected behaviour
The reason is that from a child class you cant call the event on the base class. so there is no valid code I can inject into the child class to perform OnPropertyChanged or OnPropertyChanging. Since you dont have fody enabled for the project containing the base class I cant inject OnPropertyChanged in those classes.
This is why there is a warning
Warning 4 Fody/PropertyChanged.Fody: Could not derive or inject 'OnPropertyChanged,
NotifyOfPropertyChange, RaisePropertyChanged, NotifyPropertyChanged, NotifyChanged' into 'ViewModel2'. It is
possible you are inheriting from a base class and have not correctly set 'EventInvokerNames' or you are using a
explicit PropertyChanged event and the event field is not visible to this instance. Please either correct
'EventInvokerNames' or implement your own EventInvoker on this class. No derived types will be processed. If you
want to suppress this message place a [DoNotNotifyAttribute] on ViewModel2. TestFody
As for Text in BaseViewModel3 not being processed. Well you have not turned on fody for the project Fody has no visibility of it.
So... great repro but it is not something i can fix.
from fody.
Ah, sorry didn't notice the warning message. Thanks for your detailed replay.
Cheers
from fody.
Related Issues (20)
- Why could I not load a file or assembly or one of its dependencies? The system cannot find the file specified for Costura Fody and Xceed toolkit. HOT 2
- No warning when "PrivateAssets=All" is missing in package reference HOT 1
- AccessViolationException in Fody.WeavingTask (Build Failure MSB4166) HOT 4
- Visual Studio 2022 for Mac Preview 5 HOT 1
- Cleaned library references are not removed from the deps.json file HOT 5
- Add PrivateAssets="All" to any weaver package WinUI 3 packaged app will fail to build. HOT 2
- After updating Fody debugging is no longer possible HOT 15
- Fody Weaving skipped when Clean build initiated using msbuild HOT 2
- Allow yearly contribution HOT 2
- Update Cecil HOT 5
- FodyWeavers.xml in solution directory is not found/used HOT 7
- PropertyChanged.Fody can not run in .net 7 readytorun or aot. HOT 1
- FodyHelpers incorrect reference Mono.Cecil version. HOT 6
- FileNotFoundException when trying to use a type from another assemblu HOT 2
- "The assembly has already been processed by Fody" in nuke HOT 20
- Update Cecil
- Pdb reference in generated dll/exe not using PathMap rules HOT 4
- release Avalonia fody HOT 2
- fody is missing NuGet package README file HOT 6
- `FileLoadException: Assembly with same name is already loaded` when multiple Fody-using projects are referenced HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fody.