Load .NET Control

I want to load custom .NET Control (built using v4.0 .NET Framework), but came up with error message

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

How to solve this? I am using Indusoft v8.

Regards
Parents
  • From the Help Manual (search for ".NET" and see the topic .NET Control Object):

    In order to be placed in a project screen, a component must meet the following requirements:
    - It must be built with .NET Framework version 2.0, 3.0, or 3.5. Components that have been built with .NET Framework 4.0 or later are not supported.
    - It must be designed using Windows Forms (WinForms) rather than Windows Presentation Foundation (WPF). Components that have been designed using WPF are not supported. You can use third-party development tools such as Visual Studio to "wrap" a WPF-based component, however, so that it has WinForms control layer and therefore can be used in InduSoft Web Studio.
    - It must be designed as a User Control — that is, it must extend the System.Windows.Forms.UserControl class.
    - The DataGrid and DataGridView controls are not supported in any case. As an alternative, use InduSoft Web Studio's own Grid object.

    Richard Clark
    InduSoft TMS
Reply
  • From the Help Manual (search for ".NET" and see the topic .NET Control Object):

    In order to be placed in a project screen, a component must meet the following requirements:
    - It must be built with .NET Framework version 2.0, 3.0, or 3.5. Components that have been built with .NET Framework 4.0 or later are not supported.
    - It must be designed using Windows Forms (WinForms) rather than Windows Presentation Foundation (WPF). Components that have been designed using WPF are not supported. You can use third-party development tools such as Visual Studio to "wrap" a WPF-based component, however, so that it has WinForms control layer and therefore can be used in InduSoft Web Studio.
    - It must be designed as a User Control — that is, it must extend the System.Windows.Forms.UserControl class.
    - The DataGrid and DataGridView controls are not supported in any case. As an alternative, use InduSoft Web Studio's own Grid object.

    Richard Clark
    InduSoft TMS
Children
No Data