Bug in inventory sample (?)
1. Noesis GUI 3.1.4 installed.
2. Fresh github tutorials downloaded.
3. Two exceptions while run inventory sample.
Minimum xaml example:
give error:
2. Fresh github tutorials downloaded.
3. Two exceptions while run inventory sample.
Code: Select all
[NOESIS/E] Binding failed: Path=IsDragOver, Source=InventoryViewModel(''), Target=Inventory.DropItemBehavior(''), TargetProperty=Inventory.DropItemBehavior.IsDragOver
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at D:/Downloads/NoesisGUI-Unity-3.1.4-Indie/Runtime/NoesisUnity.cs:357)
Noesis.FrameworkElement:set_DataContext (object) (at D:/Downloads/NoesisGUI-Unity-3.1.4-Indie/Runtime/API/Proxies/FrameworkElement.cs:534)
InventoryViewModel:Start () (at Assets/NoesisGUI/Samples/Inventory/InventoryViewModel.cs:312)
[NOESIS/E] Binding failed: Path=MoveFocus, Source=InventoryViewModel(''), Target=NoesisApp.PropertyChangedTrigger(''), TargetProperty=NoesisApp.PropertyChangedTrigger.Binding
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at D:/Downloads/NoesisGUI-Unity-3.1.4-Indie/Runtime/NoesisUnity.cs:357)
Noesis.FrameworkElement:set_DataContext (object) (at D:/Downloads/NoesisGUI-Unity-3.1.4-Indie/Runtime/API/Proxies/FrameworkElement.cs:534)
InventoryViewModel:Start () (at Assets/NoesisGUI/Samples/Inventory/InventoryViewModel.cs:312)
Code: Select all
<UserControl x:Class="Inventory.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Inventory"
xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
x:Name="Root">
<UserControl.Resources>
<Style x:Key="Style.EquipSlot" TargetType="{x:Type ContentControl}">
<Setter Property="noesis:StyleInteraction.Behaviors">
<Setter.Value>
<noesis:StyleBehaviorCollection>
<local:DropItemBehavior
IsDragOver="{Binding IsDragOver, Mode=OneWayToSource}"
DropCommand="{Binding DataContext.DropItem, ElementName=Root}"/>
</noesis:StyleBehaviorCollection>
</Setter.Value>
</Setter>
</Style>
</UserControl.Resources>
</UserControl>
Code: Select all
[NOESIS/E] Binding failed: Path=IsDragOver, Source=InventoryViewModel(''), Target=Inventory.DropItemBehavior(''), TargetProperty=Inventory.DropItemBehavior.IsDragOver
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at D:/Downloads/NoesisGUI-Unity-3.1.4-Indie/Runtime/NoesisUnity.cs:357)
Noesis.FrameworkElement:set_DataContext (object) (at D:/Downloads/NoesisGUI-Unity-3.1.4-Indie/Runtime/API/Proxies/FrameworkElement.cs:534)
InventoryViewModel:Start () (at Assets/NoesisGUI/Samples/Inventory/InventoryViewModel.cs:312)
-
-
sfernandez
Site Admin
- Posts: 3364
- Joined:
Re: Bug in inventory sample (?)
Thanks for the info, could you please report this in our bugtracker? we want to fix those as they do not show in WPF Blend project.
Anyway they are just binding messages and don't interfere with the application running.
Anyway they are just binding messages and don't interfere with the application running.
Who is online
Users browsing this forum: Google [Bot], sls_danielf and 1 guest