- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks again, Steve. I will change the directory name if I have to. Have a good weekend!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page