MvvmCross icon indicating copy to clipboard operation
MvvmCross copied to clipboard

TipCalc Tutorial - error at RegisterSetupType

Open suc-sgor opened this issue 4 years ago • 1 comments

🐛 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

suc-sgor avatar Dec 14 '21 13:12 suc-sgor

Facing the same issue.

However, I still get an error in the Setup.cs file in line 20 .WriteTo.Trace():

image

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

dzalf avatar May 26 '22 00:05 dzalf