Compilation Error. referencesProxy\Extension_Extension_proxy.cs(27,29)

Compilation Error. referencesProxy\Extension_Extension_proxy.cs(27,29)

  

Hi,

I am trying to use an extension developed in java in one of my application. When I am trying to publish the application I get the following internal error.


1. Internal Error
Compilation Error.
referencesProxy\Extension_Extension_proxy.cs(27,29): error CS0234: The type or namespace name 'NssExtension' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?)
protected static OutSystems.NssExtension.IssExtension issExtension =(OutSystems.NssExtension.IssExtension)new OutSystems.NssExtension.CssExtension();


State: Build References Proxy

2.

Internal Error
Compilation Error.
TypeFactory.ENAutoPlayEntityRecordTypeFactoryImpl.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENAutoPlayEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENAutoPlayEntityRecordTypeFactory {
TypeFactory.ENColorEntityRecordTypeFactoryImpl.cs(6,52): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENColorEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENColorEntityRecordTypeFactory {
TypeFactory.ENDeviceResponsiveEntityRecordTypeFactoryImpl.cs(6,63): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENDeviceResponsiveEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENDeviceResponsiveEntityRecordTypeFactory {
TypeFactory.ENDeviceTypeEntityRecordTypeFactoryImpl.cs(6,57): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENDeviceTypeEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENDeviceTypeEntityRecordTypeFactory {
TypeFactory.ENIconNameEntityRecordTypeFactoryImpl.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class ENIconNameEntityRecordTypeFactoryImpl : RsseSpaceRichWidgets.IENIconNameEntityRecordTypeFactory {
TypeFactory.ENIconSizeEntityRecordTypeFactoryImpl.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class ENIconSizeEntityRecordTypeFactoryImpl : RsseSpaceRichWidgets.IENIconSizeEntityRecordTypeFactory {
TypeFactory.ENLegendPositionEntityRecordTypeFactoryImpl.cs(6,61): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class ENLegendPositionEntityRecordTypeFactoryImpl : RsseSpaceCharts.IENLegendPositionEntityRecordTypeFactory {
TypeFactory.ENMessageTypeEntityRecordTypeFactoryImpl.cs(6,58): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class ENMessageTypeEntityRecordTypeFactoryImpl : RsseSpaceRichWidgets.IENMessageTypeEntityRecordTypeFactory {
TypeFactory.ENOrientationEntityRecordTypeFactoryImpl.cs(6,58): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENOrientationEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENOrientationEntityRecordTypeFactory {
TypeFactory.ENPositionEntityRecordTypeFactoryImpl.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENPositionEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENPositionEntityRecordTypeFactory {
TypeFactory.ENResponsiveBehaviorEntityRecordTypeFactoryImpl.cs(6,65): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENResponsiveBehaviorEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENResponsiveBehaviorEntityRecordTypeFactory {
TypeFactory.ENSizesEntityRecordTypeFactoryImpl.cs(6,52): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENSizesEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENSizesEntityRecordTypeFactory {
TypeFactory.ENStackingTypeEntityRecordTypeFactoryImpl.cs(6,59): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class ENStackingTypeEntityRecordTypeFactoryImpl : RsseSpaceCharts.IENStackingTypeEntityRecordTypeFactory {
TypeFactory.ENTabsEntityRecordTypeFactoryImpl.cs(6,51): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENTabsEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENTabsEntityRecordTypeFactory {
TypeFactory.ENTriggerEntityRecordTypeFactoryImpl.cs(6,54): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENTriggerEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENTriggerEntityRecordTypeFactory {
TypeFactory.ENWizardStepEntityRecordTypeFactoryImpl.cs(6,57): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class ENWizardStepEntityRecordTypeFactoryImpl : RsseSpaceWebPatterns.IENWizardStepEntityRecordTypeFactory {
TypeFactory.ENXAxisValuesTypeEntityRecordTypeFactoryImpl.cs(6,62): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class ENXAxisValuesTypeEntityRecordTypeFactoryImpl : RsseSpaceCharts.IENXAxisValuesTypeEntityRecordTypeFactory {
TypeFactory.RCAdvancedDataPointFormatRecord.cs(6,64): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCAdvancedDataPointFormatRecordTypeFactoryImpl : RsseSpaceCharts.IRCAdvancedDataPointFormatRecordTypeFactory {
TypeFactory.RCAdvancedDataSeriesFormatRecord.cs(6,65): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCAdvancedDataSeriesFormatRecordTypeFactoryImpl : RsseSpaceCharts.IRCAdvancedDataSeriesFormatRecordTypeFactory {
TypeFactory.RCAdvancedFormatRecord.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCAdvancedFormatRecordTypeFactoryImpl : RsseSpaceCharts.IRCAdvancedFormatRecordTypeFactory {
TypeFactory.RCChartFormatRecord.cs(6,52): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCChartFormatRecordTypeFactoryImpl : RsseSpaceCharts.IRCChartFormatRecordTypeFactory {
TypeFactory.RCDataPointRecord.cs(6,50): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCDataPointRecordTypeFactoryImpl : RsseSpaceCharts.IRCDataPointRecordTypeFactory {
TypeFactory.RCInput_AutoComplete_ListEntryRecord.cs(6,69): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class RCInput_AutoComplete_ListEntryRecordTypeFactoryImpl : RsseSpaceRichWidgets.IRCInput_AutoComplete_ListEntryRecordTypeFactory {
TypeFactory.RCUploadedFileRecord.cs(6,53): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class RCUploadedFileRecordTypeFactoryImpl : RsseSpaceRichWidgets.IRCUploadedFileRecordTypeFactory {
TypeFactory.RCVideoCaptionsRecord.cs(6,54): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class RCVideoCaptionsRecordTypeFactoryImpl : RsseSpaceWebPatterns.IRCVideoCaptionsRecordTypeFactory {
TypeFactory.RCXAxisFormatRecord.cs(6,52): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCXAxisFormatRecordTypeFactoryImpl : RsseSpaceCharts.IRCXAxisFormatRecordTypeFactory {
TypeFactory.RCYAxisFormatRecord.cs(6,52): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RCYAxisFormatRecordTypeFactoryImpl : RsseSpaceCharts.IRCYAxisFormatRecordTypeFactory {
TypeFactory.RLAdvancedDataPointFormatRecordList.cs(6,68): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RLAdvancedDataPointFormatRecordListTypeFactoryImpl : RsseSpaceCharts.IRLAdvancedDataPointFormatRecordListTypeFactory {
TypeFactory.RLAdvancedDataSeriesFormatRecordList.cs(6,69): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RLAdvancedDataSeriesFormatRecordListTypeFactoryImpl : RsseSpaceCharts.IRLAdvancedDataSeriesFormatRecordListTypeFactory {
TypeFactory.RLDataPointRecordList.cs(6,54): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class RLDataPointRecordListTypeFactoryImpl : RsseSpaceCharts.IRLDataPointRecordListTypeFactory {
TypeFactory.RLInput_AutoComplete_ListEntryRecordList.cs(6,73): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class RLInput_AutoComplete_ListEntryRecordListTypeFactoryImpl : RsseSpaceRichWidgets.IRLInput_AutoComplete_ListEntryRecordListTypeFactory {
TypeFactory.STAdvancedDataPointFormatStructure.cs(6,67): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STAdvancedDataPointFormatStructureTypeFactoryImpl : RsseSpaceCharts.ISTAdvancedDataPointFormatStructureTypeFactory {
TypeFactory.STAdvancedDataSeriesFormatStructure.cs(6,68): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STAdvancedDataSeriesFormatStructureTypeFactoryImpl : RsseSpaceCharts.ISTAdvancedDataSeriesFormatStructureTypeFactory {
TypeFactory.STAdvancedFormatStructure.cs(6,58): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STAdvancedFormatStructureTypeFactoryImpl : RsseSpaceCharts.ISTAdvancedFormatStructureTypeFactory {
TypeFactory.STChartFormatStructure.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STChartFormatStructureTypeFactoryImpl : RsseSpaceCharts.ISTChartFormatStructureTypeFactory {
TypeFactory.STDataPointStructure.cs(6,53): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STDataPointStructureTypeFactoryImpl : RsseSpaceCharts.ISTDataPointStructureTypeFactory {
TypeFactory.STInput_AutoComplete_ListEntryStructure.cs(6,72): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class STInput_AutoComplete_ListEntryStructureTypeFactoryImpl : RsseSpaceRichWidgets.ISTInput_AutoComplete_ListEntryStructureTypeFactory {
TypeFactory.STUploadedFileStructure.cs(6,56): error CS0246: The type or namespace name 'RsseSpaceRichWidgets' could not be found (are you missing a using directive or an assembly reference?)
public class STUploadedFileStructureTypeFactoryImpl : RsseSpaceRichWidgets.ISTUploadedFileStructureTypeFactory {
TypeFactory.STVideoCaptionsStructure.cs(6,57): error CS0246: The type or namespace name 'RsseSpaceWebPatterns' could not be found (are you missing a using directive or an assembly reference?)
public class STVideoCaptionsStructureTypeFactoryImpl : RsseSpaceWebPatterns.ISTVideoCaptionsStructureTypeFactory {
TypeFactory.STXAxisFormatStructure.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STXAxisFormatStructureTypeFactoryImpl : RsseSpaceCharts.ISTXAxisFormatStructureTypeFactory {
TypeFactory.STYAxisFormatStructure.cs(6,55): error CS0246: The type or namespace name 'RsseSpaceCharts' could not be found (are you missing a using directive or an assembly reference?)
public class STYAxisFormatStructureTypeFactoryImpl : RsseSpaceCharts.ISTYAxisFormatStructureTypeFactory {
Blocks\InvestmentBanking1_22\Common\Header.ascx.cs(45,11): error CS0246: The type or namespace name 'proxy_InvestmentBanking1_22_DublinTheme' could not be found (are you missing a using directive or an assembly reference?)
protected proxy_InvestmentBanking1_22_DublinTheme.Flows.FlowDublinBase.WBlkHeader DublinTheme_wt3;
Blocks\InvestmentBanking1_22\Common\LoginInfo.ascx.cs(65,11): error CS0246: The type or namespace name 'proxy_InvestmentBanking1_22_WebPatterns' could not be found (are you missing a using directive or an assembly reference?)
protected proxy_InvestmentBanking1_22_WebPatterns.Flows.FlowContent.WBlkBalloon WebPatterns_wt19;
Blocks\InvestmentBanking1_22\Common\Menu.ascx.cs(55,11): error CS0246: The type or namespace name 'proxy_InvestmentBanking1_22_RichWidgets' could not be found (are you missing a using directive or an assembly reference?)
protected proxy_InvestmentBanking1_22_RichWidgets.Flows.FlowRichWidgets.WBlkDropDownMenu RichWidgets_wt8;
Blocks\InvestmentBanking1_22\Common\Menu.ascx.cs(63,11): error CS0246: The type or namespace name 'proxy_InvestmentBanking1_22_RichWidgets' could not be found (are you missing a using directive or an assembly reference?)
protected proxy_InvestmentBanking1_22_RichWidgets.Flows.FlowRichWidgets.WBlkDropDownMenu RichWidgets_wt4;
Entities.ENAutoPlayEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENAutoPlayEntity.eSpaceId;
Entities.ENColorEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENColorEntity.eSpaceId;
Entities.ENDeviceResponsiveEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENDeviceResponsiveEntity.eSpaceId;
Entities.ENDeviceTypeEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENDeviceTypeEntity.eSpaceId;
Entities.ENIconNameEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceRichWidgets' does not exist in the current context
public const int eSpaceId = RsseSpaceRichWidgets.ENIconNameEntity.eSpaceId;
Entities.ENIconSizeEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceRichWidgets' does not exist in the current context
public const int eSpaceId = RsseSpaceRichWidgets.ENIconSizeEntity.eSpaceId;
Entities.ENLegendPositionEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceCharts' does not exist in the current context
public const int eSpaceId = RsseSpaceCharts.ENLegendPositionEntity.eSpaceId;
Entities.ENMessageTypeEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceRichWidgets' does not exist in the current context
public const int eSpaceId = RsseSpaceRichWidgets.ENMessageTypeEntity.eSpaceId;
Entities.ENOrientationEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENOrientationEntity.eSpaceId;
Entities.ENPositionEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENPositionEntity.eSpaceId;
Entities.ENResponsiveBehaviorEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENResponsiveBehaviorEntity.eSpaceId;
Entities.ENSizesEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENSizesEntity.eSpaceId;
Entities.ENStackingTypeEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceCharts' does not exist in the current context
public const int eSpaceId = RsseSpaceCharts.ENStackingTypeEntity.eSpaceId;
Entities.ENTabsEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENTabsEntity.eSpaceId;
Entities.ENTriggerEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENTriggerEntity.eSpaceId;
Entities.ENWizardStepEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceWebPatterns' does not exist in the current context
public const int eSpaceId = RsseSpaceWebPatterns.ENWizardStepEntity.eSpaceId;
Entities.ENXAxisValuesTypeEntityRecord.cs(25,29): error CS0103: The name 'RsseSpaceCharts' does not exist in the current context
public const int eSpaceId = RsseSpaceCharts.ENXAxisValuesTypeEntity.eSpaceId;


State: Second stage compilation


any idea what could the issue be?

Hello,

I'm not a Java guy, but the message is clear.

You are trying to use something that is not there.

OutSystems.NssExtension.IssExtension issExtension =(OutSystems.NssExtension.IssExtension)new OutSystems.NssExtension.CssExtension();

So, the compiler does not know what is the Css and Iss extension, because the namespace where they are was not loaded.

This is an extension you did? Or are you trying to use an extension from forge?

If it is the first case, you have something wrong with the importing of references. Maybe you are using something wrong, forgot to declare a reference, etc.

Cheers

Eduardo Jauch

Solution

Hum...

I had to ask, but...

Your application is in a Java Stack or dot Net stack?

Because is not possible to use java extensions on dot net code... And vice versa.

Cheers

Eduardo Jauch

Solution

Eduardo Jauch wrote:

Hum...

I had to ask, but...

Your application is in a Java Stack or dot Net stack?

Because is not possible to use java extensions on dot net code... And vice versa.

Cheers

Eduardo Jauch


Hi,

I created a simple web application where I want to use the extension I created using Integration studio. How can I define if the application is in Java stack or .Net stack?

Hi!

I guess I got it. Java extensions are not supported in trial versions. Only in enterprise editions there is a choice between java and .Net stack. There one can use extensions made in java.

Thanks anyways.

Cheers.

Hi Shukbed,

Yes. The stack must be defined when buying the license (I think), and you install the platform for one or the other).
The personals, for example, are all in Dot Net stack.

Don't know if a Cloud/On Premises trial can be chosen to be of Java Stack, but I would say that it should. But OutSystems staff could answer that for you.

Cheers,
Eduardo Jauch