views:

10

answers:

1

Hi I have a VS 2008 solution with around 10 projects. When I add include directories by launching browse popup and select a dir, I see VS storing the absolute path in the project file. What I want it to do is use project relative paths even for paths in sibling folders.

Is there any setting in VS to force it?

Thanks

A: 

no there isn't: the borwse button opens the standard open file dialog, this returns full paths, and VS just uses that. You'll have to enter the paths manually, or create a macro/addin that resolves the relative pahts.

stijn
That is what I did eventually. But that sucks. I use Netbeans. It does excellent job figuring relative paths out. I expect an IDE (this is year 2010) to do this automatically.
videoguy