Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: .NET Framework 4 referenced assemblies
PostPosted: Sun Oct 09, 2016 7:06 am 

Joined: Thu Feb 11, 2016 5:11 am
Posts: 10

Offline
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?


 Profile  
 
 Post subject: Re: .NET Framework 4 referenced assemblies
PostPosted: Mon Oct 10, 2016 7:08 am 

Joined: Mon Jun 11, 2012 2:10 pm
Posts: 96

Offline
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


 Profile  
 
 Post subject: Re: .NET Framework 4 referenced assemblies
PostPosted: Mon Oct 10, 2016 1:18 pm 

Joined: Thu Feb 11, 2016 5:11 am
Posts: 10

Offline
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.


 Profile  
 
 Post subject: Re: .NET Framework 4 referenced assemblies
PostPosted: Mon Oct 10, 2016 3:24 pm 

Joined: Mon Jun 11, 2012 2:10 pm
Posts: 96

Offline
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


 Profile  
 
 Post subject: Re: .NET Framework 4 referenced assemblies
PostPosted: Tue Oct 11, 2016 3:07 am 

Joined: Thu Feb 11, 2016 5:11 am
Posts: 10

Offline
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.


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: