Developing .NET 4 addin

Hi,

I tried to compile CellUtility addin example with VS 2010 and also changed target framework to ".NET framework 4". It succeded. When I load the addin in SS2, an unhandled exception (System.BadImageFormatException) occurs.

Is the .NET 4 framework development supported for current version of Microstation?

Regards

Vit

Exception body and call stack:

System.BadImageFormatException: Could not load file or assembly 'cellutility' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'cellutility'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Bentley.MicroStation.DigitalRights.LoadAssemblyByTextName(String textname, Boolean verbose)
   at Bentley.Internal.MicroStation.DotNetShim.Launcher.GetAddInTypeThroughReflection(Int32* statusCodeP, String* taskIDOverridePP, String assemblyRootName, String taskId)
   at Bentley.Internal.MicroStation.DotNetShim.Launcher.LoadMdlProgram(IntPtr statusCodeP, String mdlAppNameParam, String taskID, IntPtr forkFunc, IntPtr forkParams)