Compile Release Problem

Feb 25, 2008 at 8:08 PM
Edited Feb 25, 2008 at 9:32 PM
I was unable to compile in Release mode. The BLL project would not build in release mode; all other projects do build in release. Found the problem.

In the file SilverlightStreamingHost.cs you need to rem out the file delete items to build in release -- at least that solved it for me.:

#if !DEBUG
{
// System.IO.File.Delete(mediaFilename);
// System.IO.File.Delete(zipFilename);
}
#endif