IgnoreFileBuildProvider.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Compilation / IgnoreFileBuildProvider.cs / 1 / IgnoreFileBuildProvider.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

 
 
namespace System.Web.Compilation {
 
using System;
using System.Web.Util;

// This is a marker class that causes files to be ignored by the compilation system. 
// Otherwise, if no build provider is registered, unknown extensions get treated as
// static files and copied during deployment precompilation.  This provider prevents 
// files from being copied. (DevDiv 35450) 
internal class IgnoreFileBuildProvider: BuildProvider {
 
    internal IgnoreFileBuildProvider() {
        // Since it's just a marker, it should never be instantiated
        Debug.Assert(false);
    } 

} 
}
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK