473,769 Members | 3,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
May 24 '07 #1
0 1284

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

51
4073
by: nospam | last post by:
THIS IS the DOTNETJUNKIES MESSAGE ------------------------- We're Sorry As many of you know we have recently launched SqlJunkies.com. We have overhauled our runtime and will be using it on DotNetJunkies.com also. -------------------------------------------------------------------------- YEP, DOTNET JUNKIES REDESIGN....
3
1773
by: George Chen | last post by:
Hi After I install .NET Compact Framework 1.0 SP2. Error message "Automation server can't create object" is displayed by Microsoft Developement Enviroment 2003 version 7.1.3088 when I create any new project. Same message will display even though I remove the SP2. George Chen
2
2909
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this a limitation for smart device application? Is there any forum/group available for Smart device application developer?
4
1633
by: Francesco Martinelli | last post by:
I need to create a multiple file assemby: this requires working directly with the command line compiler (no IDE support!). After a few tests I found my problem comes from the issue described below. Thank you in advance for any suggestion? === The project is a nearly empty Windows Form project, and the compilation works fine as far as there is no bitmap in the project form. I have to use the command line compiler and I use the following...
6
1577
by: Hermione | last post by:
Hi, We developped many Dll in C++ to use in a project developped with VC++ 6.0. Now we have another project for Pocket PC that I have to develop with C#, can I use the same DLL, and what I have to do ? Thanks
4
4078
by: Bogosian | last post by:
I am working on an asp.net project.There is a subdir called OSearch,with a few aspx pages in it which as all other pages on the website use some controls.These controls are stored in a another subdir as .ascx files.I made OSearch application in IIS ,because i want all the pages in it with authentiacation.now these pages couldnt load the controls ,because they were in a different application.i made a controls folder in OSearch and...
14
4862
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it can be done using the designer but I intentionally don't want to use that. The one reason is that you cannot change the code generated by the designer. The other could be that you have more free hand and control to design your GUI. 2....
1
3481
by: Matt F | last post by:
I need to create a folder in code, and also set sharing to being shared to everyone with full control (or some such variation of security) What I'm doing now is: If Not System.IO.Directory.Exists(My.Application.Info.DirectoryPath & "\NewTestFolder") Then
28
2113
by: Peter Oliphant | last post by:
I have written a program using MS VS VC++ 2005 Express, /cli pure. Upon compiling it it works fine in the GUI development environment. It also works fine as a Debug stand-alone. ut I had an odd behavior when it comes to the Release varsion when I renamed its project directory name it was in! I tracked the problem down to it being the NAME of the DIRECTORY the application is in! Let me explain. I compiled the code, and it worked in ALL...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9420
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10205
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10035
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8863
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7401
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.