Page 1 of 1
.NET Framework 4 referenced assemblies
Posted: Sun Oct 09, 2016 7:06 am
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?
Re: .NET Framework 4 referenced assemblies
Posted: Mon Oct 10, 2016 7:08 am
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.
Re: .NET Framework 4 referenced assemblies
Posted: Mon Oct 10, 2016 1:18 pm
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.
Re: .NET Framework 4 referenced assemblies
Posted: Mon Oct 10, 2016 3:24 pm
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.
Re: .NET Framework 4 referenced assemblies
Posted: Tue Oct 11, 2016 3:07 am
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.
Re: .NET Framework 4 referenced assemblies
Posted: Thu Nov 24, 2016 9:50 pm
by ms500