Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build project and nuget package does not work. #13

Open
Del-an opened this issue May 2, 2016 · 1 comment
Open

Can't build project and nuget package does not work. #13

Del-an opened this issue May 2, 2016 · 1 comment

Comments

@Del-an
Copy link

Del-an commented May 2, 2016

Hello,

To begin, thank you for implementing such functionalities I could not find anywhere else, the first version of FloatingWindows worked great.

Meanwhile, I have two issues with ZUI, the first being :
- I downloaded a ZIP of the ZUI then launch the project, but I can't build it in his entierty, here is a list of errors :

Error       Ambiguous type reference. A type named 'VisualState' occurs in at least two namespaces, 'System.Windows' and 'System.Windows'. Consider adjusting the assembly XmlnsDefinition attributes.  FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   1   
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\DetailsForm.xaml.cs    12  Active
Error       The tag 'BootstrapButton' does not exist in XML namespace 'clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls'. Line 92 Position 14.    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   92  
Error       Unknown build error, 'Index (zero based) must be greater than or equal to zero and less than the size of the argument list. Line 1060 Position 23.' FloatingWindow.WPF  C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF\Themes\Generic.xaml 1060    
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 22  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\ModalWindow.xaml.cs    13  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MyIcon.xaml.cs 24  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\Population.xaml.cs 16  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\WindowWithChart.xaml.cs    12  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\WindowWithIcon.xaml.cs 12  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 30  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 37  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 59  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 89  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 101 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 119 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 140 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 161 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 166 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 171 Active
Error   CS0103  The name 'dataGrid' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\Population.xaml.cs 21  Active
Error       The name "IconbarZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   142 
Error       The name "IconbarZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   210 
Error       The name "IconbarZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   265 
Error       The name "FloatingWindowHostZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI". FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   33  
Error       The name "FloatingWindowHostZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI". FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   194 
Error       The name "FloatingWindowHost" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls". FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml    95  
Error       The name "FloatingWindowHost" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls". FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml    100 
Error       The name "FloatingWindowHost" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls". FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml    103 
Error       The name "BootstrapButton" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   92  
Error       Ambiguous type reference. A type named 'VisualStateManager' occurs in at least two namespaces, 'System.Windows' and 'System.Windows'. Consider adjusting the assembly XmlnsDefinition attributes.   FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   1   
Error       Ambiguous type reference. A type named 'VisualStateGroup' occurs in at least two namespaces, 'System.Windows' and 'System.Windows'. Consider adjusting the assembly XmlnsDefinition attributes. FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   1

Second issue is :
When I download the nuget package available there (https://www.nuget.org/packages/ZUI/) and I copy the files of the FloatinWindow.WPF.Demo, it builds and lauches but I am unable to move any FloatingWindow across the FloatingWindowHost, also, the bottom toolbar does not move when I click on the BootstrapButton to display it

Is it a normal behavior or did I do something wrong ?

Thank you in advance and again, thank you for your work.

@birbilis
Copy link
Collaborator

Hi, if I remember well I had replied on this by e-mail, did you have any progress resolving the first one on your own?

The 2nd one is known bug at the WPF version, have been trying for sometime now to fix. If you have the courage to try out older versions of the WPF part and see when it broke, the strategy you can follow is to grab those from http://clipflair.codeplex.come (where ZUI was before splitting to separate repository) and use a divide&conquer approach, that is go back to half of the timeline and get old version, if it works OK in WPF, then go to half point on the rest of the timeline at the right of that point. If it doesn't work, go to half point on the rest of the timeline at the left of that point and then keep on dividing till you spot the version where it worked and then when it stopped working to diff and see what change caused the window dragging to not occur in WPF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants