Bagikan melalui


AspNetCompiler.FixedNames Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a Boolean value that indicates whether one assembly should be generated for each page in the application.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property FixedNames As Boolean
public bool FixedNames { get; set; }
public:
property bool FixedNames {
    bool get ();
    void set (bool value);
}
member FixedNames : bool with get, set
function get FixedNames () : boolean 
function set FixedNames (value : boolean)

Property Value

Type: System.Boolean
true if one assembly should be generated for each page in the application; otherwise, false.

Remarks

Each assembly is named with the virtual path of the original page unless the name would exceed the operating system limit for file names, in which case a hash is generated and used for the assembly name.

You cannot use this property for in-place compilation; in-place compilation honors configuration settings for compilation batch mode.

.NET Framework Security

See Also

Reference

AspNetCompiler Class

Microsoft.Build.Tasks Namespace