Share via


Change where Visual Studio writes it's temporary files

Question

Tuesday, May 3, 2016 5:01 PM

Using Visual Studio 2013 on Windows 7.

Trying to debug code that works with a 3rd party application. The 3rd party application deletes everything in the %TEMP% directory. This is causing issues when trying to debug our application as VS will start complaining it can't find:

.NETframework,version=4.5.assemblyattributes.vb.  

Is there an setting in VS to write it's temporary files to a location other than %TEMP%?

All replies (3)

Wednesday, May 4, 2016 3:08 AM

Hi Craig,

Thank you for your post.

>>Is there an setting in VS to write it's temporary files to a location other than %TEMP%?

To specify the location of temporary files

  1. On the Tools menu, click Options.

  2. In the Options dialog box, click the File Locations tab.

  3. In the File Type list, click Temporary Files, then Modify.

  4. In the Change File Location dialog box, type a new location or click the ellipsis (...) button to browse and select a location for temporary files.

Please refer to:

https://msdn.microsoft.com/en-us/library/0at73f34%28v=vs.80%29.aspx?f=255&MSPPError=-2147217396

Best Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.


Thursday, May 5, 2016 12:09 AM

Hi Lana Xu,

I'm afraid you've mentioned an older version of Visual Studio (2005). 
Craig PDX is asking about Visual Studio 2013. I could not find "File Locations" in Options in VS 2013.

Regards.


Thursday, May 5, 2016 9:23 AM

Hi Ashidacchi,

I also check on my VS 2013 and 2015, indeed there is no such option, it seems we couldn't change the temporary file location.

Best Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.