Share via


Visual Studio 2010 temporary file locations

Question

Wednesday, July 26, 2017 4:58 PM

I am using visual studio 2010 to support vb.net 2010 desktop applications and vb.net 2010 web form applications. I have read where there are temporary files when running the applications. Can you tell me where these temporary files are located at since I want to delete files so my workstation has more room.

Thus can you tell me where these files are located at so I can delete these files?

All replies (3)

Thursday, July 27, 2017 3:10 AM âś…Answered

Hi Wendy,

I listed the two possible temple file for you:

Temporary ASP.NET Files

As you create and run ASP.NET applications from Visual Studio temporary files are placed into the <sysdrive>:\Windows\Microsoft.NET\Framework[64]\vernum>\Temporary ASP.NET Files folder. The folders and files under this folder can be removed with no harm to your development computer. Do not remove the "Temporary ASP.NET Files" folder itself, just the folders underneath this folder. If you use IIS for ASP.NET development, you may need to run the iisreset.exe utility from the command prompt prior to deleting any files/folder under this folder. IIS will sometimes keep files in use in this folder and iisreset will release the locks so the files/folders can be deleted.

Website Cache

This folder is similar to the ASP.NET Temporary Files folder in that it contains files from ASP.NET applications run from Visual Studio. This folder is located in each users local settings folder. The location will be a little different on each operating system. The folder is located at <sysdrive>:\Users\UserName>\AppData\Local\Microsoft\WebsiteCache. Check these locations periodically and delete all files and folders under this directory.

Hope it helps.

 

Best regards,

Fletcher

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Thursday, July 27, 2017 1:54 PM

Can you tell me where internet explorer and firefox store their temp files at?


Friday, July 28, 2017 8:07 AM

Hi Wendy,

For IE you could check it as steps below:

  • Tools - Internet Options
  • Under Browsing history click Settings
  • Under Current location it shows the directory name

 E.g my side:

As for Firefox, I did not install it my side, and actually, this forum is for Visual Studio IDE related issues, but I think you could more professional answer in windows community.

Anyway, please feel free to ask if you have any other Visual Studio IDE issues.

Thanks for your understanding and support for our forum.

 

Best regards,

Fletcher

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].