PC Review


Reply
Thread Tools Rate Thread

Build app versions

 
 
jrad
Guest
Posts: n/a
 
      7th Jan 2010
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
 
Reply With Quote
 
 
 
 
Batvanio
Guest
Posts: n/a
 
      7th Jan 2010
On Jan 7, 9:12*am, jrad <joe.radjavi...@gmail.com> wrote:
> 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-Confi...9&sr=1-1-spell
 
Reply With Quote
 
jrad
Guest
Posts: n/a
 
      8th Jan 2010
On Jan 7, 3:20*pm, Batvanio <batva...@gmail.com> wrote:
> On Jan 7, 9:12*am, jrad <joe.radjavi...@gmail.com> wrote:
>
> > 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-Confi...-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
 
Reply With Quote
 
MarkusSchaber
Guest
Posts: n/a
 
      8th Jan 2010
Hi, jrad,

On 7 Jan., 18:12, jrad <joe.radjavi...@gmail.com> wrote:
> 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
 
Reply With Quote
 
Markus Humm
Guest
Posts: n/a
 
      8th Jan 2010
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different versions of DLL files for the same .NET build...why? Avenger Microsoft Dot NET Framework 1 31st Jan 2008 08:29 PM
Upgrade build 2600 XP Pro to versions with SP21 and 2 included. Rock Windows XP Help 2 18th Jun 2007 10:12 PM
The Next Build Shall be RTM guys not any other builds unless MS decides to do one more build because of bugs before RTM RC2 build 5477 is the last build before RTM Drew Windows Vista General Discussion 8 13th Oct 2006 12:41 AM
Build Versions for ASP.Net 2.0 chris.breier@gmail.com Microsoft ASP .NET 3 18th Jul 2006 07:34 PM
Selectively build .NET components with different Framework versions Tim Mavers Microsoft Dot NET Framework 2 3rd Mar 2004 09:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 PM.