Build app versions

J

jrad

Hello,

I have an C# application that I would like to create 2 versions from
the same code base.
The first would be a "Lite" version with minimal functionality and the
second would be a "Pro" version with all features enabled.

Does anyone have any knowledge/resources that describe how to do this
in .NET CF?

Thanks,
JR
 
B

Batvanio

Hello,

I have an C# application that I would like to create 2 versions from
the same code base.
The first would be a "Lite" version with minimal functionality and the
second would be a "Pro" version with all features enabled.

Does anyone have any knowledge/resources that describe how to do this
in .NET CF?

Thanks,
JR

This is a matter that is handled at various levels. Using a software
configuration management system (i.e. Subversion, Perforce, MS Team
Foundation Server etc...) is the first step. You can probably make use
of resource files, etc...., dependinging on your requirements. A good
start is

http://www.amazon.com/Software-Conf...1?ie=UTF8&s=books&qid=1262895419&sr=1-1-spell
 
J

jrad

This is a matter that is handled at various levels. Using a software
configuration management system (i.e. Subversion, Perforce, MS Team
Foundation Server etc...) is the first step. You can probably make use
of resource files, etc...., dependinging on your requirements. A good
start is

http://www.amazon.com/Software-Configuration-Management-Patterns-Inte...

Thanks for your response.
We are currently using MS TFS for version control.

What I am looking for is the best way to compile the "Lite" and "Pro"
versions using VS2008.
- I would think app.config would be a way, but I do not want the
user to be able to modify the settings on the device once the app is
installed.
- Should I make 2 csproj files, with different build settings.
- Something else.

Regards,
JR
 
M

MarkusSchaber

Hi, jrad,

I have an C# application that I would like to create 2 versions from
the same code base.
The first would be a "Lite" version with minimal functionality and the
second would be a "Pro" version with all features enabled.

Does anyone have any knowledge/resources that describe how to do this
in .NET CF?

You could put the extended functionality into a DLL which is
dynamically loaded via reflection, and simply leave the DLL out of the
packages going to the Lite users.

Markus
 
M

Markus Humm

Hello,

you can define sort of a conditional compile flag and depending on how
it is set during compile time the light or the full version is generated.

Greetings

Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top