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?
.NET Framework 4 referenced assemblies
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: .NET Framework 4 referenced assemblies
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
Controls Engineer
FlexEnergy
Re: .NET Framework 4 referenced assemblies
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.
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.
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: .NET Framework 4 referenced assemblies
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.
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
Controls Engineer
FlexEnergy
Re: .NET Framework 4 referenced assemblies
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.
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.