.NET Framework 4 referenced assemblies

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
liestol
Posts: 13
Joined: Thu Feb 11, 2016 5:11 am

.NET Framework 4 referenced assemblies

Post by liestol »

Hi all,

I'm looking into adding custom controls to the iX platform, and have run into a few issues. One of my dll's is built for .NET framework 4.0.3, but iX Developer won't let me load this, with the statement that the framework in use is "4.0. ". Is this as expected, or is there anything I can do to resolve this and use the controls?

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: .NET Framework 4 referenced assemblies

Post by AMitchneck »

What is your target platform? For instance TxA and TxB panels run .net 3.5 compact framework and will not support 4.0.
Adam M.
Controls Engineer
FlexEnergy

liestol
Posts: 13
Joined: Thu Feb 11, 2016 5:11 am

Re: .NET Framework 4 referenced assemblies

Post by liestol »

Hi,

Sorry, my bad. I'm targeting a T12C-PPC, running iX Runtime on Win7 Ultimate.

The problem is that my dll is made for .NET 4.0.3, and iX Dev is giving me an error stating that only ".NET 4.0." is supported. Basicly I'm wondering if a small update from 4.0 to 4.0.3 will stop me from using controls. All .NET frameworks on the dev machine is up to date.

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: .NET Framework 4 referenced assemblies

Post by AMitchneck »

Hi liestol,

I've never used the T12C-PPC so I can't give an answer specific to it. The issue comes down to is the newer framework available on the target platform and can the older framework reference it. I've never tried using newer framework controls in an older framework, but I know you can use older framework controls in a newer framework. My guess is you can't which would explain iX's response.

Sorry if this isn't much help.
Adam M.
Controls Engineer
FlexEnergy

liestol
Posts: 13
Joined: Thu Feb 11, 2016 5:11 am

Re: .NET Framework 4 referenced assemblies

Post by liestol »

Adam,

Yeah, you can't use controls made for a newer framework. I'm looking to see if it's possible to update the Framework in use by iX Dev from 4.0 to 4.0.3 (just a small update), if not I'll see if I can make the dll compatible with 4.0.

ms500
Posts: 1
Joined: Thu Nov 24, 2016 9:40 pm

Re: .NET Framework 4 referenced assemblies

Post by ms500 »


Post Reply