Caliburn-Micro / Caliburn.Micro

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
http://caliburnmicro.com/
MIT License
2.8k stars 778 forks source link

CanSayHello doesn't work view-to-VM communication from Caliburn startup documentation #820

Closed EdwinCloud101 closed 2 years ago

EdwinCloud101 commented 2 years ago

I am following the instructions here using WPF dotnet 6.0 project. https://caliburnmicro.com/documentation/configuration

Everything works but setting the CanSayHello bool for the SayHello Command. The issue is the CanSayHello is not triggered when the textbox changes. Caliburn convention should allow that to be triggered since it has the same name with the "Can" in front of it

Edit: it fails only for the 4.0.210 version, it works for 3.2.0. Something is broken from the last release

thanks

KasperSK commented 2 years ago

Does it work if you change target to net5.0-windows?

frank-taylor-pcg commented 2 years ago

I'm also seeing this issue. Sadly, switching to net5.0-windows didn't make a difference. The problem seems to exist in the 4.0.173 version as well.

KasperSK commented 2 years ago

I looked into it and it seems the issue started in 4.0.194 I will return when I know why.