473,412 Members | 4,957 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

An IDE solution question

Hello,

I have two C# applications that use some files common to
both and some files unique to each. On the computer
itself I have them stored them in folders PROJA, PROJB,
and COMMON. I would like to set up a similar structuring
in the IDE so I created a solution containing two
projects. In the Solution Explorer I have no trouble
creating folder PROJA in project PROJA and folder PROJB in
project PROJB to hold the project-specific .CS files, but
how do I specify a COMMON folder to hold the common
files? All I've been able to do so far is create a
COMMONA and COMMONB in their respective projects and
duplicate the common .CS files, and this is certainly
unacceptable.

Thanks,
Ray Mitchell
Nov 15 '05 #1
1 978
"Ray Mitchell" <Ra***********************@MeanOldTeacher.com> wrote in
message news:08****************************@phx.gbl...
Hello,

I have two C# applications that use some files common to
both and some files unique to each. On the computer
itself I have them stored them in folders PROJA, PROJB,
and COMMON. I would like to set up a similar structuring
in the IDE so I created a solution containing two
projects. In the Solution Explorer I have no trouble
creating folder PROJA in project PROJA and folder PROJB in
project PROJB to hold the project-specific .CS files, but
how do I specify a COMMON folder to hold the common
files? All I've been able to do so far is create a
COMMONA and COMMONB in their respective projects and
duplicate the common .CS files, and this is certainly
unacceptable.


Hi Ray,

You have a couple options. One is if you right click on ProjA (or ProjB)
and select Add Existing Item there will be an Open File-like dialog appear.
On it's open button is a drop-down with an entry called Link file.

Another option is to create a DLL project for Common and add a reference to
Common in ProjA and ProjB. This is my preferred option because if you add
new artifacts to Common, other projects with references to Common get the
updates automatically and you don't have to mess around with going back to
link the files.

Joe
--
http://www.csharp-station.com
Nov 15 '05 #2

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

Similar topics

9
by: Patchwork | last post by:
Hi Everyone, I have a design related question (in C++) that I am hoping someone can help me with. It is related to my previous post but since it was pointed out that I was more or less asking...
3
by: MikeY | last post by:
Hi Everyone, I am working in C#, windows forms.My question is this. All my button dynamic controls properties are present and accounted for except for the"FlatStyle" properties. I can't seem to...
5
by: jiangyh | last post by:
hi guys: I have a task that need a windows application and a web applicition.That windows application run in the client side and web application run in the server side. My question is can I...
9
by: ani | last post by:
I have been posting this question for the past 2 weeks and there wasn't any response. I really don't understand why I am not getting any responses. Does my question sound very stupid? Anyway, here...
18
by: JohnR | last post by:
From reading the documentation, this should be a relatively easy thing. I have an arraylist of custom class instances which I want to search with an"indexof" where I'm passing an instance if the...
1
by: Lulu | last post by:
What is the easiest way to 1) delete a File System Website Solution and 2) rename a File System Website solution? I noticed when I create the ASP.NET Web Site (via File System location option)...
1
by: Arno R | last post by:
Hi all, I asked the same question two days ago. Only answer (from Lyle) was a CDO-workaround. I Googled and Googled for answers and I see again that I am not the only one struggling with this...
12
by: Jason | last post by:
hello everyone! recently i've been working through K&R's The C programming language, and i just finished exercise 3.3, since my solution is shorter than the "suggested solution" online, i want to...
4
by: =?Utf-8?B?U3VzaGlTZWFu?= | last post by:
I have question about how create solution file for exist project? So I open vs2005, File->Open web site and select dir with my site. So this site loaded but it doesn't have solution. How I can...
4
by: =?Utf-8?B?TUZL?= | last post by:
Hi all, First apologies for the off topic question, this is a sourcesafe question, but the Sourcesafe groups just don't get answers, so I thought I'd try your patience here <G> I have a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.