c# - Make different editions of an application with single code base -
i have developed application windows desktop (in wpf). let's assume application has 50 features , let's call ultimate application.
i have client demands application 30 features. let's call professional
application 20 features, let's call basic
now, want maintain single source code editions.
my intention users basic edition can't use/see features available in professional edition, , on.
how can achieve this? need use conditional compilation or else?
generally handled based on product key. algorithms generating , reading version depends developer developer.
lets take simple example product keys start prefixing it's version e.g. - ultimate version starts "u" , - uxxxxxxxxxxxx professional version starts "p" , - pxxxxxxxxxxxx , on.
now when application loaded, need enable/disable or show/hide menus based on product key version.
this helpful, when customer wan't upgrade version, need release new product key updated in application & software work unlocked features.
Comments
Post a Comment