Use VS2003 to 'non-intrusively' Edit and Build existing non-VS code?

Hi,

NOTE: This post ISN'T intended to start a discussion on whether or not
to use VS for C++ development!

I've recently joined a large organisation who already have an
established Development Environment.

The code I'm working on is C++ (not MFC) and the team do NOT use Visual
Studio, preferring instead to use text editors and external compilers.
This choice is NOT about to be changed - some folk just don't like "all
the extra rubbish that VS generates."

(Nant is being used for building, NUnit for testing and ClearCase for
CM.)

However, I DO want to use VS as an editor, at least to get Intellisense
and Class views among other things while developing and to have
ClearCase integration. I'd also probably want to run Nant as an
External Tool.

My question is: Can I still use VS locally in such a way that any
generated files (for Intellisense etc) won't 'pollute' (to use an
existing team member's word) the 'pure' (to use another!) code folders.

In other words, if all non-VS project files are in
C:\Projects\TheProject, can I use VS and have C:\VS\TheProject with all
the VS files, but referring to all the C:\Projects\TheProject source
files?

So that when I put my files back in ClearCase, I know that the only
important Project-level ones are in C:\Projects\TheProject?

Additionally, does VS2005 offer any more in terms of IDEs over VS2003?
Particulary for things like Nant or ClearCase integration?

Any help very MUCH appreciated!

Cheers

eno

[1599 byte] By [enoesque] at [2007-12-27]
# 1

Yes, we do support this scenario.

In fact, one of the features of VS2005 allows you to do just this. The feature I'm referring to is "New Project from Existing Code". This will provide you with full IntelliSense functionality and allow you to maintain the project file (and all other "junk") in a separate folder.

You can sort of achieve a similar thing with VS2003 using the "Makefile project" (File > New > Project > Makefile Project). What you'll miss is live intellisense features since we cannot do this without having full control of your build in VS2003. VS2005 fixes this with the "live browsing" features.

I hope this helps.

Thanks,

TarekMadkourMS at 2007-9-4 > top of Msdn Tech,Visual C++,Visual C++ General...