Creating my first ADD-IN errors

Creating my first ADD-IN errors

Jef_E
Collaborator Collaborator
1,369 Views
7 Replies
Message 1 of 8

Creating my first ADD-IN errors

Jef_E
Collaborator
Collaborator

Hi there!

 

I'm trying to make my first AddIn! And it's not without up's and downs as I might add.

 

I had my first error when using the Autodesk Inventor 2014 AddIn template. I just opened it for a new project and pressed build!

 

Error:

Spoiler
The command "call "%VS140COMNTOOLS%vsvars32"
			mt.exe -manifest "C:\Users\jeee\AppData\Local\Temporary Projects\InventorAddIn1\InventorAddIn1.X.manifest" -outputresource:"C:\Users\jeee\AppData\Local\Temporary Projects\InventorAddIn1\bin\Debug\InventorAddIn1.dll";#2" exited with code 9009.

But a fix was handed to me by @Owner2229 in this topic.

 

Now I can build the solution and Autodesk Inventor launches. But I have the feeling that something is seriously wrong.

 

The immediate window is showing this information:

Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintVisibility_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintvisibility_cmd_32x32.ico'.
Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintOptions_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintoptions_cmd_32x32.ico'.
Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintVisibility_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintvisibility_cmd_32x32.ico'.
Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintVisibility_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintvisibility_cmd_32x32.ico'.
Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintOptions_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintoptions_cmd_32x32.ico'.
Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintVisibility_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintvisibility_cmd_32x32.ico'.
Bad Image: pack://application:,,,/InvAIRLookImages;component/Resources/Icons/INV_Sketch_ConstraintOptions_Cmd_32x32.ico:Cannot locate resource 'resources/icons/inv_sketch_constraintoptions_cmd_32x32.ico'.
System.Windows.Data Error: 40 : BindingExpression path error: 'ApplicationMenuButtonBackground' property not found on 'object' ''InvFlowRibbonControl' (Name='')'. BindingExpression:Path=ApplicationMenuButtonBackground; DataItem='InvFlowRibbonControl' (Name=''); target element is 'RibbonApplicationMenuButton' (Name=''); target property is 'Background' (type 'Brush')
System.Windows.Data Error: 40 : BindingExpression path error: 'ApplicationMenuButtonBorderBrush' property not found on 'object' ''InvFlowRibbonControl' (Name='')'. BindingExpression:Path=ApplicationMenuButtonBorderBrush; DataItem='InvFlowRibbonControl' (Name=''); target element is 'RibbonApplicationMenuButton' (Name=''); target property is 'BorderBrush' (type 'Brush')
System.Windows.Data Error: 40 : BindingExpression path error: 'Id' property not found on 'object' ''InvFlowRibbonPanel' (HashCode=14810456)'. BindingExpression:Path=Id; DataItem='InvFlowRibbonPanel' (HashCode=14810456); target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'AutomationId' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'AutomationName' property not found on 'object' ''InvFlowRibbonPanel' (HashCode=14810456)'. BindingExpression:Path=AutomationName; DataItem='InvFlowRibbonPanel' (HashCode=14810456); target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'Id' property not found on 'object' ''InvFlowRibbonPanel' (HashCode=9028608)'. BindingExpression:Path=Id; DataItem='InvFlowRibbonPanel' (HashCode=9028608); target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'AutomationId' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'AutomationName' property not found on 'object' ''InvFlowRibbonPanel' (HashCode=9028608)'. BindingExpression:Path=AutomationName; DataItem='InvFlowRibbonPanel' (HashCode=9028608); target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'Id' property not found on 'object' ''InvFlowRibbonPanel' (HashCode=66273709)'. BindingExpression:Path=Id; DataItem='InvFlowRibbonPanel' (HashCode=66273709); target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'AutomationId' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'AutomationName' property not found on 'object' ''InvFlowRibbonPanel' (HashCode=66273709)'. BindingExpression:Path=AutomationName; DataItem='InvFlowRibbonPanel' (HashCode=66273709); target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='ToolBarCustomizeButton' (HashCode=25975757); target element is 'ToolBarToggleButton' (Name='mCustomizeButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='ToolBarCustomizeButton' (HashCode=25975757); target element is 'ToolBarToggleButton' (Name='mCustomizeButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='ToolBarCustomizeButton' (HashCode=25975757); target element is 'RibbonItemControl' (Name=''); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='InfoCenterTextBox' (HashCode=65325544); target element is 'RibbonItemControl' (Name=''); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='InfoCenterTextBox' (HashCode=65325544); target element is 'Button' (Name='PART_AcceptButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='WebServicesLoginButton' (HashCode=13286310); target element is 'LoginButtonRibbonItemControl' (Name='mContainer'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='StayConnectedButton' (HashCode=15318330); target element is 'RibbonItemControl' (Name='mContainer'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='RibbonToggleButton' (HashCode=45810748); target element is 'RibbonItemControl' (Name=''); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=Id; DataItem='RibbonMenuButton' (HashCode=9424035); target element is 'RibbonMinimizeExecuteButton' (Name='mMinimizeButtonExecute'); target property is 'AutomationId' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='RibbonMenuButton' (HashCode=9424035); target element is 'RibbonMinimizeExecuteButton' (Name='mMinimizeButtonExecute'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=Id; DataItem='RibbonMenuButton' (HashCode=9424035); target element is 'RibbonMinimizeToggleButton' (Name='mMinimizeButtonFlyout'); target property is 'AutomationId' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='RibbonMenuButton' (HashCode=9424035); target element is 'RibbonMinimizeToggleButton' (Name='mMinimizeButtonFlyout'); target property is 'Name' (type 'String')
System.Windows.Data Error: 40 : BindingExpression path error: 'Orientation' property not found on 'object' ''InvFlowRibbonGallery' (HashCode=31783765)'. BindingExpression:Path=Orientation; DataItem='InvFlowRibbonGallery' (HashCode=31783765); target element is 'RibbonItemControl' (Name='mRibbonItemControl'); target property is 'Orientation' (type 'Orientation')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='WebServicesLoginButton' (HashCode=13286310); target element is 'WebservicesLoginButtonControl' (Name='mDropDownButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='WebServicesLoginButton' (HashCode=13286310); target element is 'RibbonListButtonListBox' (Name='PART_ListButtonList'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='ToolBarCustomizeButton' (HashCode=59343073); target element is 'ToolBarToggleButton' (Name='mCustomizeButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='ToolBarCustomizeButton' (HashCode=59343073); target element is 'ToolBarToggleButton' (Name='mCustomizeButton'); target property is 'Name' (type 'String')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=AutomationName; DataItem='ToolBarCustomizeButton' (HashCode=59343073); target element is 'RibbonItemControl' (Name=''); target property is 'Name' (type 'String')
Inventor.exe Information: 0 : ================================================================
Inventor.exe Information: 0 : Activating Gateway Addin: Eco Materials Adviser for Autodesk Inventor 2014 v4.4.1.0/RELEASE/4.4.1 (WSDL 12/05)
Inventor.exe Information: 0 : Looking for Gateway environment in Inventor environment list
Inventor.exe Information: 0 : Did not find Gateway environment in Inventor environment list, adding..
Inventor.exe Information: 0 : Disabling commands in environment
Inventor.exe Information: 0 : Adding environment to the parallel environment group
Inventor.exe Information: 0 : Gateway environment was initialised
Inventor.exe Information: 0 : GatewayEnvironment constructor
System.Windows.Data Error: 40 : BindingExpression path error: 'ItemHeight' property not found on 'object' ''ScrollBar' (Name='PART_VerticalScrollBar')'. BindingExpression:Path=ItemHeight; DataItem='ScrollBar' (Name='PART_VerticalScrollBar'); target element is 'Grid' (Name=''); target property is 'MinHeight' (type 'Double')
System.Windows.Data Error: 40 : BindingExpression path error: 'ShowOverlayImage' property not found on 'object' ''InvFlowRibbonCommandItem' (HashCode=26073299)'. BindingExpression:Path=ShowOverlayImage; DataItem='InvFlowRibbonCommandItem' (HashCode=26073299); target element is 'Image' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'OverlayImage' property not found on 'object' ''InvFlowRibbonCommandItem' (HashCode=26073299)'. BindingExpression:Path=OverlayImage; DataItem='InvFlowRibbonCommandItem' (HashCode=26073299); target element is 'Image' (Name=''); target property is 'Source' (type 'ImageSource')
System.Windows.Data Error: 40 : BindingExpression path error: 'ShowOverlayImage' property not found on 'object' ''InvFlowRibbonCommandItem' (HashCode=51440330)'. BindingExpression:Path=ShowOverlayImage; DataItem='InvFlowRibbonCommandItem' (HashCode=51440330); target element is 'Image' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'OverlayImage' property not found on 'object' ''InvFlowRibbonCommandItem' (HashCode=51440330)'. BindingExpression:Path=OverlayImage; DataItem='InvFlowRibbonCommandItem' (HashCode=51440330); target element is 'Image' (Name=''); target property is 'Source' (type 'ImageSource')
System.Windows.Data Error: 40 : BindingExpression path error: 'ShowOverlayImage' property not found on 'object' ''InvFlowRibbonCommandItem' (HashCode=53398115)'. BindingExpression:Path=ShowOverlayImage; DataItem='InvFlowRibbonCommandItem' (HashCode=53398115); target element is 'Image' (Name=''); target property is 'Visibility' (type 'Visibility')
System.Windows.Data Error: 40 : BindingExpression path error: 'OverlayImage' property not found on 'object' ''InvFlowRibbonCommandItem' (HashCode=53398115)'. BindingExpression:Path=OverlayImage; DataItem='InvFlowRibbonCommandItem' (HashCode=53398115); target element is 'Image' (Name=''); target property is 'Source' (type 'ImageSource')
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='24857797'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Autodesk.Private.Windows.RibbonPanelControl'; TargetElement.HashCode='36022812'; TargetElement.Type='Autodesk.Private.Windows.RibbonPanelControl'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='22393581'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Autodesk.Private.Windows.RibbonPanelControl'; TargetElement.HashCode='36022812'; TargetElement.Type='Autodesk.Private.Windows.RibbonPanelControl'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='24857797'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Autodesk.Private.Windows.RibbonPanelControl'; TargetElement.HashCode='43309474'; TargetElement.Type='Autodesk.Private.Windows.RibbonPanelControl'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='22393581'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Autodesk.Private.Windows.RibbonPanelControl'; TargetElement.HashCode='43309474'; TargetElement.Type='Autodesk.Private.Windows.RibbonPanelControl'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='24857797'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Autodesk.Private.Windows.RibbonPanelControl'; TargetElement.HashCode='51318482'; TargetElement.Type='Autodesk.Private.Windows.RibbonPanelControl'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='22393581'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Autodesk.Private.Windows.RibbonPanelControl'; TargetElement.HashCode='51318482'; TargetElement.Type='Autodesk.Private.Windows.RibbonPanelControl'
Connectivity.Request.Common.RequestLibrary - RequestRuntimeStart()
Connectivity.Request.Vault.RequestLibrary - RequestRuntimeStart()
Connectivity.Request.Foundation.RequestLibrary - RequestRuntimeStart()
Connectivity.Request.Document.RequestLibrary - RequestRuntimeStart()
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonMoveContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonGroupContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonGroupContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'FlowRibbonGroupContextMenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'FlowRibbonGroupContextMenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'RibbonMinimizeExecuteButton' (Name='mMinimizeButtonExecute'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'RibbonMinimizeToggleButton' (Name='mMinimizeButtonFlyout'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonItemControl', AncestorLevel='1''. BindingExpression:Path=Size; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mCollapsedPanelText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mCollapsedPanelText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Internal.Windows.RibbonPanelFrame', AncestorLevel='1''. BindingExpression:Path=ShowSlideOutPanelAbove; DataItem=null; target element is 'RibbonPanelControl' (Name='mPanelControl'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonItemControl', AncestorLevel='1''. BindingExpression:Path=Size; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mCollapsedPanelText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mCollapsedPanelText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Internal.Windows.RibbonPanelFrame', AncestorLevel='1''. BindingExpression:Path=ShowSlideOutPanelAbove; DataItem=null; target element is 'RibbonPanelControl' (Name='mPanelControl'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'KeyboardActivatableToggleButton' (Name='PART_CollapsedPanelButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonItemControl', AncestorLevel='1''. BindingExpression:Path=Size; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mCollapsedPanelText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mCollapsedPanelText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Internal.Windows.RibbonPanelFrame', AncestorLevel='1''. BindingExpression:Path=ShowSlideOutPanelAbove; DataItem=null; target element is 'RibbonPanelControl' (Name='mPanelControl'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mToggleButton'. BindingExpression:(no path); DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'PlacementTarget' (type 'FrameworkElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mToggleButton'. BindingExpression:(no path); DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'ActivationTarget' (type 'FrameworkElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mText'. BindingExpression:(no path); DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'PlacementTarget' (type 'FrameworkElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mText'. BindingExpression:(no path); DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'ActivationTarget' (type 'FrameworkElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=IsItemTextVisible; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=IsItemTextVisible; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'ToggleButton' (Name='mGalleryToggleButtonInComboBoxMode'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'DropDownToggleButton' (Name='mGalleryToggleButtonInButtonMode'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'ToggleButton' (Name='mDropDownToggleButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'ComboButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlockWithToolTip' (Name='mText'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:Path=; DataItem=null; target element is 'TextBlock' (Name='Text'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mDropDownButtonBuddy'. BindingExpression:Path=IsEnabled; DataItem=null; target element is 'WebservicesLoginButtonControl' (Name='mDropDownButton'); target property is 'IsEnabled' (type 'Boolean')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mDock'. BindingExpression:(no path); DataItem=null; target element is 'RibbonListButtonPopup' (Name='mFlyoutPopup'); target property is 'PlacementTarget' (type 'UIElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mToggleButton'. BindingExpression:(no path); DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'PlacementTarget' (type 'FrameworkElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=mToggleButton'. BindingExpression:(no path); DataItem=null; target element is 'RibbonItemControl' (Name=''); target property is 'ActivationTarget' (type 'FrameworkElement')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'RepeatButton' (Name='PART_GalleryControlUpButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'RepeatButton' (Name='PART_GalleryControlDownButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'ListItemButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'ListItemButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Private.Windows.ToolBars.ToolBarControl', AncestorLevel='1''. BindingExpression:(no path); DataItem=null; target element is 'ListItemButton' (Name='mButton'); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=IsItemTextVisible; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=ItemOrientation; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Autodesk.Windows.RibbonControl', AncestorLevel='1''. BindingExpression:Path=IsItemTextVisible; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')

 

My guess this is not normal behaviour? What should I do?



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
Accepted solutions (1)
1,370 Views
7 Replies
Replies (7)
Message 2 of 8

Owner2229
Advisor
Advisor

Hi, can you post your code from "StandardAddinServer.vb"?

 

It looks like most of the errors are caused by missing Icons.

Did you add the icons to the AddIn?

Do you have set up "Build Action" of your icons to "Embedded Resource"?

 

Anyway, if you haven't paced any code in your AddIn yet, you can try my template.

Extract it, run the _New Inventor Addin.bat, write in NewProjectName and it'll rename all needed parts of the code.

 

I've made this template for my use, as the program I'm ussing (SharpDevelop) doesn't have clasic templates and I find this easier.

Consider using "Accept as Solution" / "Kudos" if you find this helpful.
- - - - - - - - - - - - - - -
Regards,
Mike

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - John F. Woods
0 Likes
Message 3 of 8

Jef_E
Collaborator
Collaborator

I stil have to set the extrenal program to debug with this template right?

 

If I use your template and add the external program for debug I get the same errors.

 

Is this the correct path?

 

C:\Program Files\Autodesk\Inventor 2014\Bin\Inventor.exe

 



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
Message 4 of 8

Owner2229
Advisor
Advisor
Accepted solution

You can't debug an addin directly from VS.

 

Here is how to do so (from yuhanzhang)

  1. Install Inventor wizard from SDK\Developer Tools\Tools\Wizards\InventorWizards.msi.
  2. Open Visual Studio, new an Inventor addin project with template.
  3. Add you code to addin.
  4. Copy the .addin file to proper location according to step #3) in Readme.txt.
  5. In VS, open the addin Properties(Project->[addinname] Properties), on Compile tab, set below settings:

    Configuration: Debug

    Build output path: C:\Program Files\Autodesk\Inventor [version]\Bin

    (this will avoid manually copying the binary to that folder).

 

6. Compile the addin(if you don't set the Build output path above, just manually copy the binary to the Inventor Bin folder).

7. Launch Inventor.

8. In VS, Tools->Attach to Process…->choose Inventor.exe->Attach.

 

Addin folder is:

C:\ProgramData\Autodesk\Inventor Addins\

Consider using "Accept as Solution" / "Kudos" if you find this helpful.
- - - - - - - - - - - - - - -
Regards,
Mike

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - John F. Woods
0 Likes
Message 5 of 8

Jef_E
Collaborator
Collaborator

Okay, and that why i'm getting these errors then.. do not debug 😄

 

I can see my project is loaded in Inventor with these steps.

 

Now I would like to add functionality to my AddIn, just to be safe, ill check with you that i'm doing the correct thing here.

I would like to run a Sub on the save event of Inventor. for example after each save msgbox "file saved". where would you store the Sub if using your template and how would you trigger with the event?



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
Message 6 of 8

Boorda
Advocate
Advocate

I'm sorry, this isn't entirely accurate.
While you can take these steps to debug your add-in, it is possible to debug directly from VS, I do it all the time.

 

Refer to this post where I explain how Debug Inventor Addin.

 

IMO this is the best way since all you have to do is click the play button or hit F5 to start debugging.

 

 

 


Automation is key!
0 Likes
Message 7 of 8

Boorda
Advocate
Advocate
BTW, those errors are WPF Binding errors generated by Inventor, you can't fix those. They are not related to your add-in. Usually once Inventor loads I clear those out, and watch for output from my add-in. Keep in mid that this output will show other Inventor errors along with your add-in's errors since your add-in is loaded into Inventors AppDomain. For example, just switch tabs in the Inventor Tool Ribbon and you'll see more binding errors.

Automation is key!
0 Likes
Message 8 of 8

Owner2229
Advisor
Advisor

Hi, as for the "OnSaveRun"...

 

If you only want it to show the MsgBox, then I'll put it directly to "StandardAddinServer.vb".

Using the template I send you:

In "StandardAddinServer.vb" in Sub "Activate" there are these lines, add the red-colored:

'initialize event handlers
m_UserInterfaceEvents = InventorApplication.UserInterfaceManager.UserInterfaceEvents
AddHandler m_UserInterfaceEvents.OnResetCommandBars, AddressOf Me.UserInterfaceEvents_OnResetCommandBars
AddHandler m_UserInterfaceEvents.OnResetRibbonInterface, AddressOf Me.UserInterfaceEvents_OnResetRibbonInterface
AddHandler m_AppEvents.OnSaveDocument, AddressOf Me.m_Events_OnSaveDocument
AddHandler m_AppEvents.OnOpenDocument, AddressOf Me.m_Events_OnOpenDocument
AddHandler m_AppEvents.OnNewDocument, AddresOf Me.m_Events_OnNewDocument

In Sub "Deactivate", look for this and add these red-colored lines:

'release objects
RemoveHandler m_UserInterfaceEvents.OnResetCommandBars, AddressOf Me.UserInterfaceEvents_OnResetCommandBars
RemoveHandler m_UserInterfaceEvents.OnResetRibbonInterface, AddressOf Me.UserInterfaceEvents_OnResetRibbonInterface
RemoveHandler m_AppEvents.OnSaveDocument, AddressOf Me.m_Events_OnSaveDocument
RemoveHandler m_AppEvents.OnOpenDocument, AddressOf Me.m_Events_OnOpenDocument
RemoveHandler m_AppEvents.OnNewDocument, AddressOf Me.m_Events_OnNewDocument

Now add these Subs below the others in the Class (it muss be above "End Class"):

Private Sub m_Events_OnSaveDocument(ByVal DocumentObject As Inventor._Document, ByVal BeforeOrAfter As Inventor.EventTimingEnum, _
    ByVal Context As Inventor.NameValueMap, ByRef HandlingCode As Inventor.HandlingCodeEnum)
    If BeforeOrAfter = EventTimingEnum.kBefore Then
      	' Something to do before document saves
    Else If BeforeOrAfter = EventTimingEnum.kAfter Then
      	' Something to do after document saves
MsgBox(DocumentObject.FullFileName) ' Here is your MsgBox
'SaveRules_After(DocumentObject) ' This line is to use the "GlobalFunctions" instead End If End Sub Private Sub m_Events_OnNewDocument(ByVal DocumentObject As Inventor._Document) If DocumentObject.DocumentType = DocumentTypeEnum.kPartDocumentObject Then ' Something to do with part document
ElseIf DocumentObject.DocumentType = DocumentTypeEnum.kAssemblyDocumentObject Then
' Something to do with assembly document End If End Sub
Private Sub m_Events_OnOpenDocument(ByVal DocumentObject As Inventor._Document, ByVal FullDocumentName As String, _ ByVal BeforeOrAfter As Inventor.EventTimingEnum, ByVal Context As Inventor.NameValueMap, ByRef HandlingCode As Inventor.HandlingCodeEnum) If BeforeOrAfter = EventTimingEnum.kBefore Then ' Something to do before the document opens Else If BeforeOrAfter = EventTimingEnum.kAfter Then ' Something to do after the document opens End If End Sub

 

But if you'll add more features to it then it should have it's own file (e.g.: "GlobalFunctions.vb").

Option Explicit
Imports Inventor
Imports Microsoft.VisualBasic Public Module GlobalFunctions
Public Sub SaveRules_After(oDoc As Inventor.Document) Dim oShortedName As String = ShortName(oDoc.FullFileName)
MsgBox(oShortedName) End Sub

Private Function ShortName(oName As String) As String
Dim FNP As Integer = InStrRev(oName, "\", -1)
Return Microsoft.VisualBasic.Mid(oName, FNP + 1)
End Function
End Module
Consider using "Accept as Solution" / "Kudos" if you find this helpful.
- - - - - - - - - - - - - - -
Regards,
Mike

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - John F. Woods
0 Likes