This documentation is archived and is not being maintained.

SGen Class

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

Implements the SGen task. Use the SGen element in your project file to create and execute this task. For usage and parameter information, see SGen Task.

Namespace: Microsoft.Build.Tasks
Assembly: Microsoft.Build.Tasks (in

public class SGen : ToolTaskExtension
public class SGen extends ToolTaskExtension
public class SGen extends ToolTaskExtension
Not applicable.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0