Is Test Drive inconsistent? #447
-
Hi there, i just started out Avalonia, but after trying the Test Drive, i noticed that it was inconsistent with the usage of MainView.axaml and MainWindow.axaml. In the end you can't complete the exercise if you code in MainWindow (You get an error on the Window tag, and you can't fix it using StackPanels). You can finish the exercise only if you write everything in MainView. Was i dumb or something is wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@ComradeWave it depends on the template and IDE used to create a new project. So in case you see MainView, you can just use that instead of MainWindow. Basically MainWindow just presents MainView. For beginners, please also explore Avalonia.Samples: https://github.com/AvaloniaUI/Avalonia.Samples |
Beta Was this translation helpful? Give feedback.
@ComradeWave it depends on the template and IDE used to create a new project. So in case you see MainView, you can just use that instead of MainWindow. Basically MainWindow just presents MainView. For beginners, please also explore Avalonia.Samples: https://github.com/AvaloniaUI/Avalonia.Samples