This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I installed a new version of Lightspeed, and then I got the following error Could not load file or assembly 'Mindscape.LightSpeed, Version=2.2.952.10469 on the line EntityModelBinder.Register(typeof(ApplicationProgrammeOfWorkUnitOfWork).Assembly); I have uninstalled the above version, and installed 2.2.960 I searched my solution for references to the old version. I deleted the references in my project, and re-added them I deleted the .Ismodel, and recreated it I searched the registry for references to 2.2.952 Not sure where else to look for the old reference
|
|
|
This may be an incremental build issue. You shouldn't need to do anything other than ensure the new version is at the reference location (which by default is the install location). It sounds like you may have a reference to another assembly which is referencing the older build, perhaps because the project has not been rebuilt -- sometimes VS does not notice that a dependent assembly version has changed. Try doing a Clean Solution and rebuilding. If you have any DLL (as opposed to project) references to DLLs that are built against LightSpeed, you might need to rebuild those as well. |
|
|
I had this exact problem just the other day. As Ivan says, it was just down to VS not recognising that things had been updated. Using Rebuild Solution instead of just Build got everything updated and working properly. |
|
|
Yea, The problem is with the version of Mindscape.lightspeed.mvc I downloaded. It was a little unusal, as it complained that I was not on a recent enough version of lightspeed when I first tried to use it, then when I downloaded the daily build of lightspeed I got the above error. I will go back to using the automapper for the minute, thanks. |
|
|
Hi Grayson, The Mindscape.LightSpeed.Mvc is just a compiled version of the community code solution which you can grab via SVN from here: https://code.mindscape.co.nz/repos/LightSpeed/Mvc/Trunk - you will want to compile this against whichever version of LightSpeed you are currently using rather than using a pre-compiled binary which targets a different version of LightSpeed.
Jeremy |
|