[ListUtils] Update for Version 9

[ListUtils] Update for Version 9

  
Forge Component
(6)
Published on 2010-08-26 by ovatsus
6 votes
Published on 2010-08-26 by ovatsus
I am getting the following compile error with the Upgrade to version 9 ... does someone have a fix?

.NET Compilation.<br/><br/>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. <br/>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. <br/>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. <br/>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Web", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. <br/>ListUtils.cs(20,32): warning CS0618: 'OutSystems.NssListUtils.RLTextValueRecordList.RLTextValueRecordList(System.Data.IDbTransaction)' is obsolete: 'Use the Default Constructor and set the Transaction afterwards.' <br/>ListUtils.cs(48,19): warning CS0618: 'OutSystems.NssListUtils.RLTextValueRecordList.RLTextValueRecordList(System.Data.IDbTransaction)' is obsolete: 'Use the Default Constructor and set the Transaction afterwards.' <br/>ListUtils.cs(74,27): warning CS0618: 'OutSystems.NssListUtils.RLTextValueRecordList.RLTextValueRecordList(System.Data.IDbTransaction)' is obsolete: 'Use the Default Constructor and set the Transaction afterwards.' <br/>ListUtils.cs(96,31): warning CS0618: 'OutSystems.NssListUtils.RLTextValueRecordList.RLTextValueRecordList(System.Data.IDbTransaction)' is obsolete: 'Use the Default Constructor and set the Transaction afterwards.' <br/>ListUtils.cs(143,44): error CS1061: 'OutSystems.HubEdition.RuntimePlatform.ISimpleRecord' does not contain a definition for 'FillFromOther' and no extension method 'FillFromOther' accepting a first argument of type 'OutSystems.HubEdition.RuntimePlatform.ISimpleRecord' could be found (are you missing a using directive or an assembly reference?).
Hi Rebecca,

i've just upgraded and only had to do a small change from ISimpleRecord to IRecord due to the datatype changes on P9.

I haven't tested it though.

Can you give it a try?

Cheers,
Guilherme
I am also getting the same error system.db transaction is obselete error in my application after upgrade to 9.0 can you please share your thoughts on how to resolve that.

Thanks,
Venkat Gude.