Udostępnij za pośrednictwem


SGen.ShouldGenerateSerializer Property

Definition

Gets or sets a Boolean value that specifies whether the SGen task should generate a serialization assembly.

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

public:
 property bool ShouldGenerateSerializer { bool get(); void set(bool value); };
[Microsoft.Build.Framework.Required]
public bool ShouldGenerateSerializer { get; set; }
[<Microsoft.Build.Framework.Required>]
member this.ShouldGenerateSerializer : bool with get, set
Public Property ShouldGenerateSerializer As Boolean

Property Value

true if the SGen task should generate a serialization assembly; otherwise, false.

Attributes

Remarks

If this property is true, the MSBuild engine will execute the SGen task and generate a serialization assembly. If this property is false, the MSBuild engine will not execute the SGen task.

Applies to