thoemmi / TinyLittleMvvm

A small MVVM library for WPF built on top of MahApps.Metro, supporting .NET Framework >= 4.7.2 and .NET Core >= 3
MIT License
131 stars 22 forks source link

Code breaks if program starts other than AppName.App(); #33

Open tiberiumboy opened 4 years ago

tiberiumboy commented 4 years ago

Had this project pull from Nuget and found that it couldn't start. After scratching my head and realized that all compiler errors lead to how the app starts, ( I had an additional class to invoke resolving assembly resources before calling App.Main(); )

It would be nice to tell other that this script will only works when executed from App.Main();, Or just use default program starts in the application property.

(AFAIK, Strange behavior happens between xaml of the project and AppBootstrapper.cs)

Regards, J

thoemmi commented 4 years ago

Yeah, the documentation is somewhat lacking. TBH, I would have released TinyLittleMvvm 2.0 four month ago, but I'm still to lazy to update the docs.

If you're still using TinyLittleMvvm 1.0, you might want to have look into the wiki at https://github.com/thoemmi/TinyLittleMvvm/wiki/Usage. For 2.0 I have to recommend to read the source code of the sample application.