xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.9k stars 878 forks source link

Could not load file or assembly 'Xceed.Wpf.Toolkit, Version=4.2.0.0' or one of its dependencies. After installing Costura Fody #1694

Open Nordgaren opened 2 years ago

Nordgaren commented 2 years ago

I get this error after I installed Costura.Fody so I can package my project in on exe.

Error XDG0062 Could not load file or assembly 'Xceed.Wpf.Toolkit, Version=4.2.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4' or one of its dependencies. The system cannot find the file specified. DS2 META C:\Users\username\source\repos\DS2 META\DS2 META\TabControls\StatsControl.xaml 67

Does anyone know about this? I don't exactly understand how it's happening, as when I launch the program, I get the right output, and I can even add new extended toolkit items, but the preview is broken and makes it hard to plan things out.

Any help would be appreciated.

Project is here: https://github.com/Nordgaren/DS2-META

Thank You, Nordgaren

zhongruijia commented 2 years ago

这里是郭瑞的邮箱,已收到您的来件,我会尽快拜阅并给予您回复

Nordgaren commented 2 years ago

A bit of an update:

This seems to be a Visual Studio 2022 specific issue, as, it works fine in VS 2019.

mojtabahakimian commented 2 years ago

Aslo Me : Why could I not load a file or assembly or one of its dependencies? The system cannot find the file specified for Costura Fody and Xceed toolkit. in Visual Studio 2022

https://stackoverflow.com/questions/70520766/could-not-load-file-or-assembly-or-one-of-its-dependencies-the-system-cannot-fi