Kısa süre önce bu tuhaf hatayı almaya başladım, yalnızca Designer'da sorun var, uygulama sorunsuz çalışıyor. Ben yine her şeyden kaldırıp yeniden ekleyerek belirtilen montaj ve yapıyor çözeltisini [A] Tip [B] için eşleştirilemiyor. Eşleşen derleme sürümleri türü
- denedim
Bu tam hata
[A]MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl cannot be cast to [B]MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl. Type A originates from 'MahApps.Metro, Version=1.1.3.174, Culture=neutral, PublicKeyToken=null' in the context 'LoadFrom' at location 'C:\Users\usr\AppData\Local\Microsoft\VisualStudio\14.0\Designer\ShadowCache\x2tfp5zd.b23\jgke2cb5.0ws\tmp\MahApps.Metro.dll'. Type B originates from 'MahApps.Metro, Version=1.1.3.174, Culture=neutral, PublicKeyToken=null' in the context 'LoadNeither' at location 'C:\Users\usr\AppData\Local\Microsoft\VisualStudio\14.0\Designer\ShadowCache\majxo3bg.w3c\dwou5m4n.p1u\MahApps.Metro.dll'. HeRgoT C:\Users\usr\MyProject\MyProject\MainWindow.xaml
Sebep ne?
Takımı güçlü isimle imzalamayı deneyin. – PetSerAl
Hızlı not, denetimi aynı derlemeden farklı biriyle değiştirdiğimde, sorun ortadan kalkıyor – pikausp
Başvurulan projenin hedef çerçevesi farklı olduğunda bu sorunla karşılaştım (4.5'e karşı 4.5.2). – Herman