Dirkster99 / AvalonDock

Our own development branch of the well known WPF document docking library
Microsoft Public License
1.39k stars 318 forks source link

AvalonDock 4.70.1 issue in .NET Framework 4.5 #439

Open chaos2ron opened 1 year ago

chaos2ron commented 1 year ago

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>
leo-schick commented 11 months ago

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

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