.net - Visual Studio 2012 under Windows8: how to prevent copying ASP.NET web site files into user temp folder? -
i have asp.net web site (started work on in in vs2008). after upgraded machine windows 8 visual studio started working slower: each compilation took significant amount of time. if earlier 10-15 seconds, 25-50. , vs hangs during time.
eventually found out causing that: upon compilation of project in solution or of whole web site, vs copies web site files temp folder located under user's appdata\local folder:
c:\users\my_user\appdata\local\temp\tmp719c.tmp.testgen\
totally 35mb of files, biggest "bin" folder (20 mb, 294 files) , folder pictures (13.1 mb, 2569 files).
and copies ton of files on each compilation!
that literally takes half of minute.
i delete picture files (as represent business data not required during development), instead prevent visual studio copying files @ all.
question: how prevent visual studio copying asp.net web site files temp directoty?
p.s. use windows 8 (64 bit), vs2012 update 3, disabled edit-and-continue. web site written using .net 4.0
p.p.s. vs copies lot of files temp folder (c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\vfm-elita.com\b5832962\9bb65367), looks place aspx/ascx files been compiled.
the problem related unit tests project: once disabled problem resolved.
i didn't try find wrong (may configuration options). created new project tests , moved classes old 1 new.
Comments
Post a Comment