Archived Forum Post

Index of archived forum posts

Question:

How to correctly compile and run app on lower Framework

Jun 15 '16 at 12:25

Hello, i try to create project on .NET 3.5 with ChilkatDotNet2 in c++ clr console application and when i try to start program, ten i get 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 try to use app.config but not working. How can i fix this please? Thanks a lot.


Answer

anyone who can help with this please?.


Answer

You mention you're using .NET 3.5, but then the message mentions 4.0 so that's a bit confusing. Anyway, a Google search for "mixed mode assemble is built against version" turns up a lot of results with possible solutions, including this one that might help:

http://stackoverflow.com/questions/6425707/mixed-mode-assembly-is-built-against-version-v2-0-50727-of-the-runtime


Answer

yes, i try this a lot of times, but still same error, don't know why :/ i must use 4.5 and compile here, maybe i find something how to fix this :/ thanks anyway :)