We have two publications (Desktop Publication - Parent and Mobile Publication - Child).
In compound templating setup, we have two projects which contains Template classes with same name in both projects that does different functionality.
We are unable to upload the second project in child publication(Mobile) which has the same class name(Builder) as of the assembly in parent publication(Desktop) even after localizing the common named TBBs in child publication. Am getting the above error in TcmUploadAssembly tool.
Could someone help me to achieve this scenario where i need to achieve two different functionality in different publications using different assemblies with same class name just by localizing the TBB. Your early response is appreciated.
Note: If the assembly name been same in both publications, am able to upload the assembly after localizing the TBBs but only the Desktop class functionality been called in Mobile components too.
Please find below the sample compound templating project setup. I need the classes to be uploaded separately in two different publications:
namespace Desktop
{
[TcmTemplateTitle("Builder")]
public class Builder : ITemplate
{
//Desktop code here
}
}
namespace Mobile
{
[TcmTemplateTitle("Builder")]
public class Builder : ITemplate
{
//Mobile code here
}
}