Issue when following Music Store App Guide #16513
-
Describe the bugWhen following the Guide and i get to Open a Dialog Vscode with the extension flags To ReproduceCopy the code from the Guide on the website https://docs.avaloniaui.net/docs/tutorials/music-store-app/opening-a-dialog Expected behaviorNo response Avalonia version11.1.0 OSWindows Additional contextSorry if it is not written well. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
Can you share your full code for your code behind? It's likely a signature problem. |
Beta Was this translation helpful? Give feedback.
-
Here is the Code it is the same as in the Guide
|
Beta Was this translation helpful? Give feedback.
-
How about the ViewModel, specifically the definition of ShowDialog? |
Beta Was this translation helpful? Give feedback.
-
Add "using System;" |
Beta Was this translation helpful? Give feedback.
-
Added using System But Still get this error
I have Goan through the guide again but got the same error. Think this may be because the Guide is out dated? |
Beta Was this translation helpful? Give feedback.
-
I'm going through this tutorial too and am having the same problem. I think I found a solution though...
|
Beta Was this translation helpful? Give feedback.
-
This Should be Changed in the Documentation |
Beta Was this translation helpful? Give feedback.
I'm going through this tutorial too and am having the same problem.
I think I found a solution though...