wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

Error after installing version 2.0.2

Open LazyYangi opened this issue 2 years ago • 9 comments

After installation, according to the documentation, the following problems occur image image

LazyYangi avatar Jul 29 '22 16:07 LazyYangi

OS: Windows 11 .NET: net6.0-windows Version: 2.0.2 (WPF-UI)

LazyYangi avatar Jul 30 '22 02:07 LazyYangi

Do you have the latest documents 2.0

LazyYangi avatar Jul 30 '22 02:07 LazyYangi

image

LazyYangi avatar Jul 30 '22 02:07 LazyYangi

image

LazyYangi avatar Jul 30 '22 03:07 LazyYangi

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". screenshot

And when I copy the main window example on the tutorial (https://wpfui.lepo.co/documentation/tutorial) I get the following errors. screen

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

lambor590 avatar Aug 01 '22 15:08 lambor590

Hey @lambor590, could you share your MainWindow xaml file?

pomianowski avatar Aug 01 '22 16:08 pomianowski

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:

MainWindow.txt

lambor590 avatar Aug 01 '22 17:08 lambor590

@lambor590, please read the errors

  1. You are opening <ui:UiWindow> and closing </Window> (yeah documentation issue)
  2. You are setting WindowStartupLocation twice

Tinekk avatar Aug 02 '22 11:08 Tinekk

@Tinekk, that is true. I managed to get it working, adding Wpf.Ui.dll as reference of the project and fixing the example :)

lambor590 avatar Aug 02 '22 12:08 lambor590