Ran into an issue when having a .INC resource in a dependency module marked as Deploy="true". Another class that requires that include file failed to load with the error No include file 'Example.INC'. This is because in packaging the .INC file doesn't get added to the studio document but being marked as deploy does try to load it from there.
The short-term fix was to remove the Deploy="true" from the include file, as include files shouldn't be deployed at all.
To address this long term, we need a way for generally supporting install of resources if they were marked as deploy but packaged as source. In this case we want to load it from source instead of trying from the deployed .xml file which ultimately ignores it.
Ran into an issue when having a
.INCresource in a dependency module marked asDeploy="true". Another class that requires that include file failed to load with the errorNo include file 'Example.INC'. This is because in packaging the.INCfile doesn't get added to the studio document but being marked as deploy does try to load it from there.The short-term fix was to remove the
Deploy="true"from the include file, as include files shouldn't be deployed at all.To address this long term, we need a way for generally supporting install of resources if they were marked as deploy but packaged as source. In this case we want to load it from source instead of trying from the deployed .xml file which ultimately ignores it.