Note that there are some explanatory texts on larger screens.

plurals
  1. POstopping app_offline.htm from being created and deleted at each build?
    primarykey
    data
    text
    <p>I have a solution with 2 projects in Visual Studio 2008 SP1, .NET Framework 3.5 SP1.</p> <ul> <li>a ASP Web site.</li> <li>a Class Library (dll) project.</li> </ul> <p>I have a reference from the Web Site to the Class Library, as the Class Library is my data layer. But anyway, the thing happens only with this basic setup, a solution with these 2 types of projects and a reference from the Web Site to the Class Library.</p> <p>Now, each time I modify something in the Class Library and I build it, Visual Studio creates a file called app_offline.htm and then deletes it (it sends it to the Recycle Bin).</p> <p>This is really annoying because at the end of the day I end up with a full Recycle Bin and me, being the perfectionist I am, I want to keep it clean. I'm not the only one with this problem: <a href="http://morewally.com/cs/blogs/wallym/archive/2007/10/11/visual-studio-2008-thursday-october-11-2007.aspx" rel="nofollow noreferrer">here</a> and <a href="http://forums.asp.net/t/1230063.aspx" rel="nofollow noreferrer">here</a>.</p> <p>I know now the cause of the problem, but still not how to fix it. If you didn't hear about app_offline.htm before, here's <a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx" rel="nofollow noreferrer">ScottGu's article on app_offline</a>.:</p> <p>Does anyone know a solution to the problem? Some setting in VS to delete the file forever after the Build process? (I really don't want to set my Recycle Bin to do that, as I do delete things unintentionally from time to time and I'd like to be able to recover those.)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload