|
-
Jun 22nd, 2010, 08:49 PM
#1
Thread Starter
Member
VS trying to create odd folders
I was nosing around with Sysinternals Procmon today, just to see where some disk activity was coming from. In the process (pardon the pun) I noticed that Visual Studio was constantly testing for the presence of a bunch of web folders which didn't exist.
Procmon log:

"D:\wwwroot" is my web root. The folder "csharp" doesn't exist.
This happens continually, every few seconds. When I create "csharp" and those subfolders, VS stops checking for them. But they don't exist in my project file and there's no need for them as far as I know. I don't know what they are for.
Does anyone know why VS wants those folders? Their absence doesn't seem to affect anything, yet VS keeps checking if they exist, which is weird.
Cheers
-
Jun 23rd, 2010, 01:07 AM
#2
Re: VS trying to create odd folders
Hello,
What version/edition of Visual Studio are you using?
I can't say that I have noticed this behaviour before. It is almost as though it is looking for the project templates. Have you made any changes to the default settings of Visual Studio?
Gary
-
Jun 23rd, 2010, 02:01 AM
#3
Thread Starter
Member
Re: VS trying to create odd folders
Hi Gary, I haven't made any changes, no. Using VS 2008, and this particular project is a web app (ie. not a "web site"). I'm not even sure what those folders are used for.
-
Jun 23rd, 2010, 02:09 AM
#4
Re: VS trying to create odd folders
I am curious now...
I will try and run a test later on today to see if I have the same results.
Gary
-
Jun 23rd, 2010, 02:17 AM
#5
Thread Starter
Member
Re: VS trying to create odd folders
Thanks. It also keeps checking for the same subfolders under "visualbasic".
So csharp/general, csharp/wpf, etc.
and visualbasic/general, visualbasic/wpf, etc.
To see the events in ProcMon, hit CTRL+L to bring up the Filter dialog.
Add the filters:
a) "EventClass is FileSystem then Include"
b) "EventClass is not FileSystem then Exclude"
That will just show you FileSystem events, otherwise it'll be a zoo.
-
Jun 23rd, 2010, 05:40 AM
#6
Thread Starter
Member
Re: VS trying to create odd folders
I found a clue.. it seems the folders it's looking for in my web root folder correspond *exactly* to the folder structure found in the VS2008 "ProjectTemplates" folder, here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\
It's looking for them in my web root for some reason. Could VS have somehow been told to look for those template folders somewhere other than the default C: location?
-
Jun 23rd, 2010, 05:51 AM
#7
Re: VS trying to create odd folders
This is what I mentioned in my first post, and why I asked if you have changed a setting in VS to look somewhere else for the ProjectTemplates.
Gary
-
Jun 23rd, 2010, 05:54 AM
#8
Thread Starter
Member
Re: VS trying to create odd folders
I realise that, but as I said I haven't (to my knowledge) changed anything like that. I don't even know how. So how do I work out if something is wrong there and set it back to what it should be (assuming that's the problem)?
-
Jun 24th, 2010, 10:40 AM
#9
Lively Member
Re: VS trying to create odd folders
You could try:
Code:
devenv /ResetSettings
I wrote a book  Visual Studio 2008 Programming
Amazon.com / Visual Studio 2008 Programming / By Jamie Plenderleith & Steve Bunn
-
Jun 24th, 2010, 10:57 AM
#10
Re: VS trying to create odd folders
This actually might be worth a try.
I haven't been able to replicate the issue that you are seeing at this end.
Gary
-
Jun 24th, 2010, 11:17 AM
#11
Thread Starter
Member
Re: VS trying to create odd folders
Cool, thanks for the replies guys. I'll try the reset, once I'm finished this load of work.. can't afford to mess with my setup just yet. I'll report back if it works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|