Hubedition Compiler error while creating extension using Integration Studio

Hubedition Compiler error while creating extension using Integration Studio

  

While saving extension giving below error:

.Netframework Installed : 4.5/4.6.1 

Outsystem Version 10.0 on Cloud-personal environment.


Error:

.NET Compilation.

C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3274: The primary reference "OutSystems.RuntimeCommon" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.HubEdition.RuntimePlatform" could not be resolved because it has an indirect dependency on the assembly "OutSystems.RuntimeCommon, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.REST.API" could not be resolved because it has an indirect dependency on the assembly "OutSystems.RuntimeCommon, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.HubEdition.DatabaseAbstractionLayer" could not be resolved because it has an indirect dependency on the assembly "OutSystems.RuntimeCommon, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3274: The primary reference "OutSystems.HubEdition.RuntimePlatform" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.REST.API" could not be resolved because it has an indirect dependency on the assembly "OutSystems.HubEdition.RuntimePlatform, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3274: The primary reference "OutSystems.HubEdition.DatabaseAbstractionLayer" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.HubEdition.RuntimePlatform" could not be resolved because it has an indirect dependency on the assembly "OutSystems.HubEdition.DatabaseAbstractionLayer, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.REST.API" could not be resolved because it has an indirect dependency on the assembly "OutSystems.HubEdition.DatabaseAbstractionLayer, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3274: The primary reference "OutSystems.HubEdition.SMS" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.HubEdition.RuntimePlatform" could not be resolved because it has an indirect dependency on the assembly "OutSystems.HubEdition.SMS, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3275: The primary reference "OutSystems.REST.API" could not be resolved because it has an indirect dependency on the assembly "OutSystems.HubEdition.SMS, Version=10.0.303.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3274: The primary reference "OutSystems.REST.API" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
Extension.cs(4,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Extension.cs(5,18): error CS0234: The type or namespace name 'RuntimePublic' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Interface.cs(4,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Structures.cs(6,18): error CS0234: The type or namespace name 'ObjectKeys' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Structures.cs(7,18): error CS0234: The type or namespace name 'RuntimeCommon' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Structures.cs(8,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Structures.cs(9,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Structures.cs(10,18): error CS0234: The type or namespace name 'Internal' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Structures.cs(19,63): error CS0246: The type or namespace name 'ITypedRecord' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(19,101): error CS0246: The type or namespace name 'ISimpleRecord' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(219,60): error CS0246: The type or namespace name 'ITypedRecord' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(219,95): error CS0246: The type or namespace name 'ISimpleRecord' could not be found (are you missing a using directive or an assembly reference?)
Entities.cs(6,18): error CS0234: The type or namespace name 'ObjectKeys' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Entities.cs(7,18): error CS0234: The type or namespace name 'RuntimeCommon' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Entities.cs(8,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Entities.cs(9,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Entities.cs(10,18): error CS0234: The type or namespace name 'Internal' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Records.cs(7,18): error CS0234: The type or namespace name 'ObjectKeys' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Records.cs(8,18): error CS0234: The type or namespace name 'RuntimeCommon' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Records.cs(9,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Records.cs(10,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Records.cs(11,18): error CS0234: The type or namespace name 'Internal' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
Records.cs(19,60): error CS0246: The type or namespace name 'ITypedRecord' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(206,57): error CS0246: The type or namespace name 'ITypedRecord' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(7,18): error CS0234: The type or namespace name 'ObjectKeys' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
RecordLists.cs(8,18): error CS0234: The type or namespace name 'RuntimeCommon' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
RecordLists.cs(9,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
RecordLists.cs(10,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
RecordLists.cs(11,18): error CS0234: The type or namespace name 'Internal' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
RecordLists.cs(12,18): error CS0234: The type or namespace name 'HubEdition' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
RecordLists.cs(21,48): error CS0246: The type or namespace name 'GenericRecordList' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(100,45): error CS0246: The type or namespace name 'GenericRecordList' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(20,27): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(21,27): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(151,3): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(169,30): error CS0246: The type or namespace name 'VarValue' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(183,35): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(187,37): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(191,30): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(200,29): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(220,27): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(221,27): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(346,3): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(364,30): error CS0246: The type or namespace name 'VarValue' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(376,35): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(380,37): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(384,30): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Structures.cs(393,29): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(20,27): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(149,3): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(165,30): error CS0246: The type or namespace name 'VarValue' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(176,35): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(180,37): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(184,30): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(191,29): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(207,27): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(336,3): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(352,30): error CS0246: The type or namespace name 'VarValue' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(363,35): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(367,37): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(371,30): error CS0246: The type or namespace name 'GlobalObjectKey' could not be found (are you missing a using directive or an assembly reference?)
Records.cs(378,29): error CS0246: The type or namespace name 'IRecord' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(42,57): error CS0246: The type or namespace name 'RestList' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(67,56): error CS0246: The type or namespace name 'ReadDBMethodDelegate' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(88,22): error CS0246: The type or namespace name 'OSList' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(121,54): error CS0246: The type or namespace name 'RestList' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(146,53): error CS0246: The type or namespace name 'ReadDBMethodDelegate' could not be found (are you missing a using directive or an assembly reference?)
RecordLists.cs(167,22): error CS0246: The type or namespace name 'OSList' could not be found (are you missing a using directive or an assembly reference?)

Hi Narayan,


In Visual Studio change the projects target version from 4.5 to 4.6.1

Does it happen only on a particular extension?

As far as I know the upgrade of extensions to P10 automatically should had done that change.


Regards,

João Rosado

Thanks,

I have 4.6.1 installed but in VS2013 it doesn't show up in Project properties.

Does it require VS2017?


Thanks

Narayan

Solution

Oh right, Visual Studio 2013 doesn't have it by default.

It should show up if you install the .NET Framework 4.6.1 Targeting Pack from https://www.microsoft.com/net/targeting


Visual Studio 2015 has it by default.

I don't recommend you to go with Visual Studio 2017 as there are some known issues with it at the moment.


Regards,
João Rosado

Solution