Results 1 to 11 of 11

Thread: VS trying to create odd folders

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    58

    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

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    58

    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.

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  5. #5

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    58

    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.

  6. #6

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    58

    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?

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  8. #8

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    58

    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)?

  9. #9
    Lively Member
    Join Date
    Apr 2010
    Posts
    105

    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

  10. #10
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    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

  11. #11

    Thread Starter
    Member
    Join Date
    Feb 2010
    Posts
    58

    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
  •  



Click Here to Expand Forum to Full Width