473,387 Members | 1,592 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,387 software developers and data experts.

csproj issue

Is there a way to have project source files NOT in the project folder? It
seems that when you try to reference a file outside of the project folder,
it just copies it in to the project folder.

John
Nov 16 '05 #1
2 1133
John Wood wrote:
Is there a way to have project source files NOT in the project folder? It
seems that when you try to reference a file outside of the project folder,
it just copies it in to the project folder.


It's rather hidden, but possible:

When you are in the file open dialog for "add an existing item" to the
project, instead of simply clicking the "Open" button, click on the
little down-arrow on the right edge of the button. One of the options
is "Link to file".

That adds the file to the project in its existing location without
copying it.

--
mikeb
Nov 16 '05 #2
Very helpful, thanks!

"mikeb" <ma************@nospam.mailnull.com> wrote in message
news:uz**************@TK2MSFTNGP12.phx.gbl...
John Wood wrote:
Is there a way to have project source files NOT in the project folder? It seems that when you try to reference a file outside of the project folder, it just copies it in to the project folder.


It's rather hidden, but possible:

When you are in the file open dialog for "add an existing item" to the
project, instead of simply clicking the "Open" button, click on the
little down-arrow on the right edge of the button. One of the options
is "Link to file".

That adds the file to the project in its existing location without
copying it.

--
mikeb

Nov 16 '05 #3

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

Similar topics

2
by: Robert | last post by:
Ref. Windows 2000 proffessional 5.00.2195 Service pack 4 Internet explorer 6.0.2800.1106 Visual basic .NET Standard 2003 MSDN library for Visual Studio .NET 2003 Microsoft Data Access Component...
3
by: Reza Alirezaei | last post by:
When I create a project in VS.NET 2003 ,there are two files with these extensions *.csproj and *.sln.what is the difference between thses two???
1
by: John Lee | last post by:
Hi, Here is my issue with VS.NET IDE project reference: I have a project (myproj.csproj) referencing a non-GACed strongly named assembly (comp.dll 2.0.1.0) with copy local = true; we also have...
1
by: -DG- | last post by:
In the course of investigating differences between C# projects generated in VS2003 vs VS2005 (see my post about reformatting code), I've found big differences in the .csproj file. I haven't gone...
2
by: Matt | last post by:
When I tried to open an existing proj1.csproj in VS.NET 2003. It pops up a dialog saying "The project 'proj1.csproj' must be converted to the current project format. After it has been converted,...
5
by: sunyour | last post by:
I'm developing an application that takes a csproj file as input (and output). I've searched for a definition or schema file for the csproj xml-file to understand the possibilites and restrictions,...
2
by: Al Pilon | last post by:
Any help would be appreciated for the following problem. I've already spent a day at this, and enough is enough. I'm writing a ORM program. and in the process of running it against a database,...
4
by: Max2006 | last post by:
Hi, When I use Web Deployment Project to create a deployment image of my web site, It includes un-necessaty files such as *.csproj files. Can I disable the deployment of *.csproj files?
1
by: chrismitchel | last post by:
I have .NET framework and Visual Web developer 2005 Express Edition installed. i am trying to develop a vb.net web application but cant seem to find winforms the visual web developer. And when i try...
2
by: nelsonbrodyk | last post by:
Hey All, I am getting an oddity around the csproj files, and am hoping someone has a solution. I will use an example to explain it. I have Project A, and Project B. B depends on A, and A was...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.