PC Review


Reply
Thread Tools Rate Thread

Any suggestion for directory layout of project support both Full.NET Framework and Compact Framework?

 
 
ping235
Guest
Posts: n/a
 
      24th May 2007
Recently, i am busying myself on a project that support both the Full
..NET Framework 2.0 and .NET Compact Framework 2.0, with the same set of
c# code, but have different project properties and references.

The question is how could I achieve this, should i create separate
project for each purpose?

The most simple approach is creating two separate projects, but i'll
must maintain two sets of codes.

I tried layout my project directories as below:

--ProjectRoot <the root directory, all files placed in>
|--Common <place the common c# source files shared by both>
|--*.cs
|--ProjectForCE <place the *.csproj for WinCE>
|--Properties
|--CE.csproj
|--ProjectForPC <place the *.csproj for PC, Full .NET F>
|--Properties
|--PC.csproj

I tried to get the CE project and PC project to refer the c# files
reside in Common folder, but strange things occurred, the VS2005 copy
the whole Common folder into the project's own folder, doesn't refer to
the shared Common folder as i imagine.

The following layout also doesn't works:
--ProjectRoot <the root directory, all files placed in>
CE.csproj
PC.csproj
|--Common <place the common c# source files shared by both>
|--*.cs
|--ProjectForCE <place the *.csproj for WinCE>
|--Properties
|--ProjectForPC <place the *.csproj for PC, Full .NET F>
|--Properties
Properties will be created in ProjectRoot automatically when you open
the CE.csproj or PC.csproj, i cannot find way to moving Properties to
its own project dir.

So I think that maybe ms doesn't recommend this kind of directory
layout, but what is the legit?

Any other ideas?

Thanks,

ping235
 
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
Can a compact framework application of full framework application hit a java webservice running on apache I_hate_coding_but_the_money_is_nice Microsoft Dot NET Compact Framework 3 9th Nov 2007 05:19 PM
Any suggestion for directory layout of project support both Full.NET Framework and Compact Framework? ping235 Microsoft Dot NET Framework 2 22nd May 2007 02:35 AM
Using Compact Framework controls on Full Framework Application tecktim.khoo@gmail.com Microsoft Dot NET Compact Framework 1 31st May 2006 07:49 PM
WMI support in compact framework Tales Eduardo Riedel de Lima Microsoft Dot NET Compact Framework 2 24th Sep 2003 03:30 AM
Layout Manager and Compact Framework Ben Microsoft Dot NET Compact Framework 7 5th Aug 2003 06:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 AM.