views:

10

answers:

0

I have a directory structure that looks like so:

MyApplication\Source\Linux\Makefile

For VC6, my path used to looked like this:

MyApplication\Source\Win32\MyApplication.dsw
MyApplication\Source\Win32\MyApplication.dsp

I'd like my path for Visual Studio '08 to be the same:

MyApplication\Source\Win32\MyApplication.sln
MyApplication\Source\Win32\MyApplication.vcproj

However, the newer versions of Visual Studio insist that my path be:

MyApplication\Source\Win32\MyApplication\MyApplication.sln
MyApplication\Source\Win32\MyApplication\MyApplication\MyApplication.vcproj

The worst part is, even if I manually move\rename the solution and project so that paths are sensible, the second I click the "add to source control" button, it re-creates the original nonsense path in source control--even though it does not match the files on disk. Needless to say, this is highly undesirable.

I also know this isn't a required behavior, because if I convert an existing VC6 project to VS08, then the paths are as they should be with no problems. This only occurs if I create a new solution from scratch.

Is there any way to suppress Visual Studio's folder creating behavior (cleanly)?

Someone else posted a similar problem to one of the Microsoft forums [http://social.msdn.microsoft.com/Forums/en/vstsstart/thread/bb911c76-b86f-4b54-bf1a-87a8810be859]. The suggestion was that you might fix this with a custom template.

If this is true, what do I need to put in my template to do this?

If this is untrue, what other approach might I take?