System.Web
2.0.0.0
System.Object
Instances of the class are used with class methods to build one or more files into a compiled assembly.
The class defines build functionality for individual files, and the class combines the source code contributed by each instance into a single assembly. The ASP.NET build environment passes an object to the methods when building an assembly from one or more files, so that each instance can contribute source code for its file to the overall assembly.
The ASP.NET build environment determines the language and compiler required by files within the project, based on the property. The build environment groups files based on their compiler settings and builds an assembly from files that require the same compiler.
The property indicates the implementation that the ASP.NET build environment uses to compile an assembly from the source code contributed by each implementation.
A object contributes source code in the form of a CodeDOM graph using the method. A object contributes source code stored in a physical file using the method.
After each object contributes source code using the appropriate methods, the ASP.NET build environment uses the class to compile the collected source code into an assembly.
Provides a container for building an assembly from one or more virtual paths within an ASP.NET project.
Method
System.Void
A implementation uses the method when generating source code that references types within the input assembly.
The ASP.NET build environment initializes the default collection of assemblies available for reference through the build provider in the property. If the build provider generates source code that references additional assemblies, the build provider adds the additional assemblies using the method. The ASP.NET build environment resolves external types during assembly compilation using both the referenced assemblies added by build providers and the default collection of assemblies available for reference.
Typically, a object adds source code to the object in the method. If a build provider generates source code that uses an external type, the build provider adds the type's assembly using the method.
Use the method to add a referenced assembly required in source code generated by a instance for a specific file type. Use the <assemblies> configuration element to configure an assembly for reference across multiple file types in a project.
Adds an assembly that is referenced by source code generated for a file.
An assembly referenced by a code compile unit or source file included in the assembly compilation.
2.0.0.0
Method
System.Void
A implementation calls the method when generating a CodeDOM graph for a virtual path. Source code added with is included in the assembly compilation.
Typically, a build provider's method implementation reads the property, parses the contents, and then adds the generated source code to the specified object. The build provider uses the method to add source code as a CodeDOM graph to the assembly. Alternately, the build provider can use the method to add source code as a physical file to the assembly.
Adds source code for the assembly in the form of a CodeDOM graph.
The build provider generating .
The code compile unit to include in the assembly compilation.
2.0.0.0
Property
System.CodeDom.Compiler.CodeDomProvider
To be added.
The property indicates the implementation that the ASP.NET build environment uses to compile an assembly from the source code contributed by each implementation.
The ASP.NET build environment determines the language and compiler required by files within the project, based on the property. The build environment groups files based on their compiler settings and builds an assembly from files that require the same compiler.
Gets the compiler used to build source code into an assembly.
2.0.0.0
Method
System.IO.TextWriter
A implementation calls the method when generating a source file for a virtual path. Source code added with is included in the assembly compilation.
Typically, a build provider method implementation reads the property, parses the contents, and then adds the generated source code to the specified object. The build provider uses the method to add source code as a physical file to the assembly. Alternately, the build provider can use the method to add source code as a CodeDOM graph to the assembly.
After calling , the build provider writes the source file contents using the returned object. After writing the source file, the object must use the method to close the object and free associated system resources.
Allows a build provider to create a temporary source file, and include the source file in the assembly compilation.
An open that can be used to write source code to a temporary file.
The build provider generating the code source file.
2.0.0.0
Method
System.IO.Stream
After calling the method, a object writes the resource file contents using the returned object. For example, the build provider can write the resources using a object. After writing the resource file, the build provider must use the method to close the object and free associated system resources.
Allows a build provider to create a resource file to include in the assembly compilation.
An open that can be used to write resources, which are included in the assembly compilation.
The build provider generating the resource.
The name of the resource file to be created.
2.0.0.0
Method
System.Void
A implementation calls the method to optimize performance for frequent creations of type instances.
Inserts a fast object factory template for a type into the compiled assembly.
The name of the type to generate.
2.0.0.0
Method
System.String
A implementation calls the method to get a temporary file path that is deleted automatically after the assembly is compiled.
The method generates a unique temporary file path, but does not create the file.
Generates a temporary file path.
A path to a temporary file, with the specified file extension.
The file extension to use for the temporary file.
2.0.0.0