wpfui
wpfui copied to clipboard
Error after installing version 2.0.2
After installation, according to the documentation, the following problems occur
OS: Windows 11 .NET: net6.0-windows Version: 2.0.2 (WPF-UI)
Do you have the latest documents 2.0
Hi, I have this problem too.
I just installed the nuget and followed the instructions, and I get these errors with only adding the dictionaries
The last phrase of the errors mean "The system cannot find the file specified".
And when I copy the main window example on the tutorial (https://wpfui.lepo.co/documentation/tutorial) I get the following errors.
Error code XLS0501 mean "The property 'WindowStartupLocation' is set more than once". Error code XLS0305 mean "The closing tag for element 'ui:UiWindow' was not found". Error code XDG0000 mean "The closing XML tag "ui:UiWindow" does not have a corresponding opening tag".
OS: Windows 10 VS Community 2022 .NET: net6.0-windows Using version 2.0.2 of WPF-UI
Hey @lambor590, could you share your MainWindow xaml file?
Well, when applying the new design of the main window, I removed all the content of the MainWindow.xaml and literally pasted the example of the tutorial, so the file was exactly like this:
@lambor590, please read the errors
- You are opening
<ui:UiWindow>
and closing</Window>
(yeah documentation issue) - You are setting WindowStartupLocation twice
@Tinekk, that is true. I managed to get it working, adding Wpf.Ui.dll as reference of the project and fixing the example :)