Temporary files with ASP.NET-Projects

Hello,

I discovered, that (exactly) since I'm using ReSharper within an ASP.NET Website Project
all the temporary files (for WebDev.WebServer) within c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
are NOT deleted automatically anymore.

That is: for each press of F5 I have about 10MB on my Disk now.

Now I can count how often per day I have compiled the Project, thats just funny.

Does anybody else can confirm this behaviour? If yes maybe the ReSharper-Team should look at it.

Thanks,

Alexander

16 comments


"Alexander Steffens" <no_reply@jetbrains.com> wrote in message
news:29758968.96121220435816057.JavaMail.jive@app4.labs.intellij.net...

Hello,

>

I discovered, that (exactly) since I'm using ReSharper within an ASP.NET
Website Project
all the temporary files (for WebDev.WebServer) within
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
are NOT deleted automatically anymore.

>

That is: for each press of F5 I have about 10MB on my Disk now.

>

Now I can count how often per day I have compiled the Project, thats just
funny.

>

Does anybody else can confirm this behaviour? If yes maybe the
ReSharper-Team should look at it.


You should try this with Web Application Projects and see if they show the
same behavior.

--
John

0

This happened to me as well - I discovered after a week that I had 15GB used in that folder.

I've tried to find a setting in re-sharper > options to resolve this but no luck.

Any ideas Re-Sharper team?

0

I'm still getting this too with RS4.5.1153 with a VS2008 Website project (not a WAP).  I have to keep an eye on my asp.net temp folder as it is mapped to a compressed ramdisk (ImDisk) and each time a do a build it adds a new 28Mb folder if I change any one line of code in the referenced class library projects.  As I take a build-often approach you can image this gets in my way quickly.  I think for the moment I might create a small post build task to delete all but the most recent RS generated folders.  This is what I get after a few tiny builds:
R:/ASP.NET temporary files/
     [bpsm - ui].633679866346243750     28.1Mb     19 January 2009, 18:30:38
     [bpsm - ui].633679868429218750     28.1Mb     19 January 2009, 18:34:08
     [bpsm - ui].633679868911875000     28.1Mb     19 January 2009, 18:34:56
     ... many more of these folders ...

1. Is there any 'fix' planned for this in RS4.5?
2. A wanted feature, in similar line to this, would be able to manually set the RS solution cache folder path and the path to use for temp files while performing a full solution analysis (currently it uses the User-TEMP environment variable usually set to '%USERPROFILE%\Local Settings\Temp').
3. Actually, can I safely delete ALL these "[...]" folders while I'm using VS and RS after a build?
4. What do these RS temp folders do anyway??

edited: resonantworks - added questions 3+4.

0

Matthew,

Thanks for pointing out what exactly the files are not removed. We'll fix
the problem.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Fixed. The upcoming nightly build will contain it as well as several
critical ASP-related fixes.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Thanks Sergey!

Can you have a look at what's going on in "User Temp" folder (%USERPROFILE%\Local Settings\Temp)?  I've run out of disk space many times with RS4.1 and RS4.5 due to the same issue as the asp.net temp, but I can't work out which folders to delete as a lot of them are locked and named randomly.

0

Normally, all the files that are created in temp should be deleted when they
become redundant. If it is not so, we need to investigate the problem. Could
you do the following:
1. Close all instances of VS
2. Clean up the temp folder
3. Open your solution and start working.

And just monitor what's happening in that temp folder. It would help us a
lot if you figure out what are the contents of the folders, that remained
when you exit VS.
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Are thee updates in the 4.1 nightly builds or the 4.5 nghtly builds?


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:gl7m8f$flk$1@is.intellij.net...

Fixed. The upcoming nightly build will contain it as well as several
critical ASP-related fixes.

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hi Sergey,

Please find attached a series of step by step snapshots of my local user temp folder after each action performed in visual studio.  Nothing else was running except a single instance of visual studio at all times.  I've had to replace the client's name and product name with '***' and '$$$$' to protect the innocent   The logs were generated by CCleaner.  As you can see the temp grew from 0Mb to over 1Gb in a matter of a few rebuilds within a half hour.  The same actions with RS disabled produce no temp files, so all these files generated in temp are definitely the result of having RS enabled.

RS 4.5.1153.0 is installed.  I tried the newer builds on the weekend but they are too fragile for daily work, 1153 is still the best for me so far.



Attachment(s):
RS-usertemp.zip
0

Fixed.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Great stuff!  Can you say which build/date is scheduled to include these two fixes?

0

Matthew,
4.5.1165 and later builds will definitely contain the fix. 4.5.1164 - maybe,
but I'm not sure.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hi,

This doesn't appear to be fixed in version 4.5.1231.7

There's one or two [bspm*] & [xsd*] directories created every minute - see screen shot of temp folder.

Cheers.



Attachment(s):
screen shot.png
0

What exactly your temp folder is? Could you send us your website for investigation?

Sergey Coox,
Jetbrains Inc.
Develop with pleasure!

0

Hi Sergey,

Thanks for your response.

My temp folder is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" running on Windows XP.

The VS solution is massive (60MB and Intelectual Property that I'm unable to post to a forum).

Any help appreciated.

Cheers,

Matt.

0

Weird. Is the floder cleaned up on VS closed?
Could you send us a website for investogation?

0

Please sign in to leave a comment.