Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / November 2005

Tip: Looking for answers? Try searching our database.

Adding include directories does not start with current project fol

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Juan Dent - 23 Nov 2005 17:40 GMT
Hi,

With VS.NET 2003 one could write the relative address of folders as in:

 ..\..\include

in the IDE and the starting address would always be the current project
directory. Now in 2005 the starting address seems to be the address where the
IDE is installed!!

Not only is this strange, but I don't quite get why this is so!

Any ideas or workarounds?
Signature

Thanks in advance,

Juan Dent, M.Sc.

"Gary Chang[MSFT]" - 24 Nov 2005 06:29 GMT
Hi Juan,

>in the IDE and the starting address would always be the current
>project directory. Now in 2005 the starting address seems to be
>the address where the IDE is installed!!

I cannot repro this scenario in my machine. Based on my tests, the relative
path which you specified in the "Additional Include Directories" could be
worked as the same as in VS2003.

But one difference in VS2005 is the project directory's location--unlike
the VS2003, whose default project directory is also its solution's
directory, in VS2005 the project has its own directory under the solution's
directory:

in VS2003
.\Demo1: Demo1.sln, Demo1.vcproj,Demo1.cpp,Demo1.h...  

in VS2005:
.\Demo2: Demo2.sln, ... Demo2(Dir)...
.\Demo2\Demo2\: Demo2.vcproj,Demo2.cpp,Demo2.h...  

So I think your problem may be caused by this, you need to use the
following relative path in VS2005:
.\..\..\include

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.