2
嗨,今天我決定更新Caliburn.Micro nuget包。Caliburn.Micro更新2.0.1到2.0.2出錯
但從那時起,我的所有按鈕/控制都被打破了。
沒有更多的約束!此外,每次我點擊一個按鈕時,這個異常都會被拋出。
<Button x:Name="LeftImport" HorizontalAlignment="Left" Grid.Column="3" Style="{DynamicResource MetroCircleButtonStyle}" Width="30" Height="30" BorderThickness="0">
<Button.ToolTip>
<ToolTip>
<StackPanel>
<TextBlock FontWeight="Bold">Import</TextBlock>
<TextBlock>Import a package</TextBlock>
</StackPanel>
</ToolTip>
</Button.ToolTip>
<Rectangle Width="20" Height="20" Fill="White">
<Rectangle.OpacityMask>
<VisualBrush Stretch="Fill" Visual="{StaticResource appbar_download}" />
</Rectangle.OpacityMask>
</Rectangle>
</Button>
注意 我用Caliburn.Micro.Start安裝2.0.1
我出的解決方案。
似乎沒有要在2.0.2更新了許多變化(https://github.com/Caliburn-Micro/Caliburn.Micro/releases/tag/2.0.2)。你有沒有嘗試清理你的項目,刪除所有舊的參考和重建? – BlackBox
是的,我已回滾到2.0.1,一切運行正常......我不知道2.0.2發生了什麼 – C1rdec
你可以附加你的文章,包括失敗的按鈕的XAML? – BlackBox