Loading CSLA 3.8.1 dll custom control visual studio toolbox error.....
Loading CSLA 3.8.1 dll custom control visual studio toolbox error..... Old forum URL: forums.lhotka.net/forums/t/8388.aspx
NickyLarson posted on Wednesday, January 20, 2010
I have in my visual Studio 2008 Toolbox the CSLA 3.7 DLL
I use the control CslaDataSource, I updated to CSLA 3.8 and I can´t install the control in toolbox.
"There was an error loading types from assembly 'D:\DLLS\CSLA 3.8.1.Release\Csla.dll'
Could not load file or assembly 'System.Windows.Interactivity, Version=22.214.171.124, Culture=neutral, Public Token=....... etc etc"
How can solve this ?
Can I use in my code reference to CSLA 3.8.1 and in the toolbox use the CSLA 3.7
JonnyBee replied on Thursday, January 21, 2010Hi,
No, you should have the same version in both your code/solution and the toolbox.
I actually prefer to have intermediate baseclasses and "very empty" subclasses of csla controllers in a separate project as part of my solution as these subclassed controllers will automatically be available in the toolbox. This makes life much easier when I switch between projects with different versions of CSLA.
NickyLarson replied on Thursday, January 21, 2010
Yeah this is a clever solution.
I will do that. Thanks for the solution.
Peran replied on Thursday, January 21, 2010If the issue is due to missing System.Windows.Interactivity.dll see here:
Copyright (c) Marimer LLC