Dirkster99/AvalonDock

AvalonDock 4.70.1 issue in .NET Framework 4.5

chaos2ron opened this issue · 1 comments

ErrorCode: XDG0040
Desc.: "The Property "InlineXml" can only be set once"

OS is Windows 10 and I am using Visual Studio 2019

Xaml Preview is not working...

How can I solve this error?
Here is My XAML Code.

    <DockingManager x:Name="dockManager" Grid.Row="1">
        <LayoutRoot>
            <LayoutPanel Orientation="Horizontal">
                <LayoutAnchorablePane DockWidth="120">
                    <LayoutAnchorable Title="Tree View" CanClose="False" CanHide="False"/>
                </LayoutAnchorablePane>
                <LayoutDocumentPaneGroup>
                    <LayoutDocumentPane x:Name="layoutDocumentPane">
                        <LayoutDocument Title="Document">
                            <TextBox/>
                        </LayoutDocument>
                    </LayoutDocumentPane>
                </LayoutDocumentPaneGroup>
                <LayoutAnchorablePaneGroup DockWidth="120">
                    <LayoutAnchorablePane>
                        <LayoutAnchorable Title="Selection">
                            <TextBlock Text="Test1" />
                        </LayoutAnchorable>
                        <LayoutAnchorable Title="Properties">
                            <TextBlock Text="Test2" />
                        </LayoutAnchorable>
                        <LayoutAnchorable Title="Task">
                            <TextBlock Text="Test2" />
                        </LayoutAnchorable>
                    </LayoutAnchorablePane>
                </LayoutAnchorablePaneGroup>
            </LayoutPanel>
        </LayoutRoot>
    </DockingManager>

@chaos2ron What version of .NET Framework do you use?

See also: The Property "inlineXml" can only be set once on stackoverflow