ClientBuildManager.CompileApplicationDependencies 方法

定义

编译与应用程序相关的文件,例如,App_Code 目录中的文件、Global.asax 文件、资源文件和 Web 引用。Compiles application-dependent files, such as files in the App_Code directory, the Global.asax file, resource files, and Web references.

public:
 void CompileApplicationDependencies();
public void CompileApplicationDependencies ();
member this.CompileApplicationDependencies : unit -> unit
Public Sub CompileApplicationDependencies ()

注解

CompileApplicationDependencies 方法确保 App_Browsers 目录中的 App_Code 目录、.browser 文件中的资源、Web 引用、文件,以及将编译 global.asax 文件。The CompileApplicationDependencies method ensures that resources, Web references, files in the App_Code directory, .browser files in the App_Browsers directory, and the Global.asax file are compiled.

适用于

另请参阅