How can I have a single code base (Product.sln) and multiple products (PROD1-Website A & PROD2-Website B)? I am using WIXgen tool for MSI Packaging. And my IDE is ASP.net 2008, C#.
My pages will have some specific changes for each product. That I can achieve using conditional compilation (#if, #elif, #else, and #endif)
E.g.
Product.sln -> Default.aspx.cs
So to be precise what I need is, I need to have two build definitions and that will run over same solution, and it must create different DLLs (say for e.g. PROD1.DLL & PROD2.DLL) for each product and build the MSI. So when i try to create MSI for the first product my DLL should come out with that specific code and vice versa
How can I do this ? Help and any suggestions are highly appreciated…
Thanks & Regards
Sree
My pages will have some specific changes for each product. That I can achieve using conditional compilation (#if, #elif, #else, and #endif)
E.g.
Product.sln -> Default.aspx.cs
Code:
#if (PROD1)
Response.Write("This is PROD1 – Website A");
#else
Response.Write("This is PROD2 – Website B");
#endif
How can I do this ? Help and any suggestions are highly appreciated…
Thanks & Regards
Sree
Comment