Home > .NET Domain Model > CodeFluent Entities and .NET 4 support

CodeFluent Entities and .NET 4 support


If you have encountered the infamous BadImageFormatException lately using CodeFluent Entities on a machine equipped with the .NET 4 framework, then you might update some .config files like this:

<?xml version="1.0"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0.30319" />
  </startup>
</configuration>

This will specify which versions of the common language runtime the application supports. You can do this on CodeFluent.Build.exe.config, CodeFluent.Runtime.ServiceHost.exe.config for example, or any other file you use 🙂

Have fun!

Categories: .NET Domain Model
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s