bool(false) When using SuperMap iObjects .NET 7C in Microsoft Visual Studio 2010, there may be errors when compiling or running, why? - FAQ - SuperMap

Q: When using SuperMap iObjects .NET 7C in Microsoft Visual Studio 2010, there may be errors when compiling or running, why?

You can solve this problem by the following steps:

  1. In the Application page of the program attribute, change the Target Framework to .NET Framework 4 (the default value is .NET Framework 4 Client Profile).
  2. Modify app.config, add the following content in startup:

    useLegacyV2RuntimeActivationPolicy = "true"

    useLegacyV2RuntimeActivationPolicy = "true"

The problem is solved.

30 Sep,2019

More iObjects FAQ