Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
2 Views

Project Directory

When a new project, myproj, is created, VS automatically generates a new sub-directory \myproj\ under the directory which I specify. This sub-directory houses the project file, myproj.vfproj. My question is: how can I change the settings so that \myproj\ will not be generated and myproj.vfproj will be placed in the directory I provide. Thank you!

0 Kudos
4 Replies
Highlighted
2 Views

In the New Project dialog,

In the New Project dialog, uncheck the box "Create directory for solution". This will put the solution and project in the same folder. However, Visual Studio will not allow creating a solution or project in a directory that isn't empty.

Retired 12/31/2016
0 Kudos
Highlighted
Beginner
2 Views

Thank you, Steve, for your

Thank you, Steve, for your quick response. Even if the directory I specify (c:\temp\test\) is empty, VS will still create a new sub-directory under \test\ with the same name as the project name. It seems there isn't a way to avoid creating a sub-directory with the project name.

0 Kudos
Highlighted
2 Views

The problem is that Visual

The problem is that Visual Studio will ALWAYS create a new directory for the solution and project under the place you say for Location. The option I mentioned stops it from creating yet another level of directory for the project. I don't know of a way to do what you want other than to let it create the directory and then move the files to where you want them. I will comment that sharing project intermediate folders is a bad idea, if you were considering that. If it's just that you don't like the name of the folder, you can rename it later.

Retired 12/31/2016
0 Kudos
Highlighted
Beginner
2 Views

Thanks again, Steve. I will

Thanks again, Steve. I will change the directory name if I have to. Have a good weekend!

0 Kudos