MATLAB: Is it possible to run components built using MATLAB Builder for .NET and .NET Framework 1.1 and .NET Framework 2.0 in the same application

MATLAB Builder NE

I have an application that uses components built with MATLAB Builder for .NET and .NET Framework 1.1. I now wish to use, in the same application, a component built with MATLAB Builder for .NET and .NET Framework 2.0 and want to know whether or not this is possible.

Best Answer

In general you need to test applications built for 1.1 .NET Framework against the 2.0 version, as per various documents available online such as the following: msdn2.microsoft.com/en-us/library/ms994381.aspx
It is also not possible to run .NET Framework 2.0 applications against the 1.1 Framework.
With regards to MATLAB Builder for .NET components, you will run into issues if the application uses components built against both versions of the .NET Framework since both versions might try to load the same native libraries.