MvvmCross
MvvmCross copied to clipboard
TipCalc Tutorial - error at RegisterSetupType
🐛 Bug Report
Following the tutorial the code has an error at this Line:
this.RegisterSetupType<MvxWpfSetup<Core.App>>();
Changing it to this.RegisterSetupType<Setup>() solves the problem.
(setup.cs taken from https://github.com/MvvmCross/MvvmCross-Samples/blob/master/TipCalc/TipCalc.WPF/Setup.cs)
Expected behavior
Code should compile without error or documentation should be changed.
Reproduction steps
Configuration
Version: 8.0.2
Platform:
- [ ] :iphone: iOS
- [ ] :robot: Android
- [X] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [ ] :monkey: Xamarin.Forms
Facing the same issue.
However, I still get an error in the Setup.cs file in line 20 .WriteTo.Trace():

I have installed Serilog and Serilog.Extensions via Nuget. What am I missing?
Also, why are these packages necessary? Why do we need to implement a logger?
Cheers