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 am trying to run the MVP WinformStore\Client sample to investigate how LS and MVP can work together. However, when I try to run the app I get the following error. Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. I am using VS2010, with framework 4.0 selected. I tried to build the sample with the default Framework 3.5 selected, and it would not build. So I changed the Framework to 4, now it builds, but will not run. Do you have a working example of this sample that works on VS2010 with Framework 4.0? Thanks |
|
|
We believe this issue is in the SQLite DLL. Adding the following to the config file should fix the problem: <startup useLegacyV2RuntimeActivationPolicy="true"> Alternatively, you could run it against SQL Server or some other database -- we don't provide CREATE TABLE scripts but you should be able to create a suitable schema from the .lsmodel file. |
|
|
Hi Ivan,
I tried the app.config change earlier this morning, but unfortunately, it didnot work. I will look into creating an SQL database form the model, and see if I can get that to run. As usual, many thanks, for a prompt response.
|
|