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



Hi everyone.

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.

Error:
"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=3.5.0.0, 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

Thanks


JonnyBee replied on Thursday, January 21, 2010

Hi,

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


Hi JonnyBee.

Yeah this is a clever solution.

I will do that. Thanks for the solution.


Peran replied on Thursday, January 21, 2010

If the issue is due to missing System.Windows.Interactivity.dll see here:

http://forums.lhotka.net/forums/permalink/38441/39714/ShowThread.aspx#39714


Peran

Copyright (c) Marimer LLC