Tuesday, July 19, 2016

Customize .Net compilation directory.

Problem:

I had a vs project today which was building over another project.  The IIS express was referencing the older project each time I tried to run the new project.  What I needed to do was wipe the temp files.


Solution:

The dynamic created files for your web site are stored on

c:\WINDOWS\Microsoft.NET\Framework\version\Temporary ASP.NET Files\

You can change this directory on the web.config. The asp.net check if any file change on your site and if can find any changes is start the recompile. Also many parameters of the recompile can change on web.config.



<compilation  tempDirectory="" ...>






Source:

  1. http://stackoverflow.com/questions/12018403/where-is-the-compiled-dll-for-a-website-project
  2. https://msdn.microsoft.com/en-us/library/s10awwz0%28VS.100%29.aspx?f=255&MSPPError=-2147217396

No comments:

Post a Comment