Reputation: 198
For Common WPF controls I have no problems with using caliburn micro framework, but I can't use it for DevExpress controls. I installed the Caliburn.Micro.DevExpress from NuGet Packages, overrided the configure method in my bootstrapper class and have written DXConventions.Install() in it
protected override void Configure()
{
DXConventions.Install();
}
but, the error occurs :
System.IO.FileNotFoundException: 'Could not load file or assembly 'DevExpress.Xpf.Grid.v14.2.Core, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The system cannot find the file specified.'
How can I solve this problem? Will I be able to use Caliburn.Micro after it?
Upvotes: 1
Views: 405
Reputation: 165
The code behind the Nuget seems to be compiled with a certain version of the DevExpress.Xpf.Grid.vXX.X which may be different to the one you would have in your source code.
A probable (slightly painful) work around is to build the DLL to support the versions in your source code:
Upvotes: 1
Reputation: 109
Try using this piece of code :
static Bootstrapper()
{
Caliburn.Micro.DevExpress.DXConventions.Install();
}
Let me know how it goes for you ?
Upvotes: 0