tags:

views:

25

answers:

2

c# VS2008 SP1

right Click on Project name, Add Existing Item, selecting Add As Link from the drop down menu, and selecting a .cs file outside of the project folder, causes the file to be copied locally within the project folder.

This is surely not the correct behavior?

A: 

That is the default behavior. Also confirmed with Visual Studio 2010

Sam Plus Plus
A: 

Doesn't do that for me. Are you selecting the file you want first, and then selecting "Add as link" in the weird dropdown button?

MStodd
Yes. It copies the file to the project folder and in its Properties is a grayed-out link to the local file I cannot edit
BillyG
Solved: I restarted visual studio a few times and now its working OK. must have been a glitch
BillyG