LoadInSeparateAppDomainAttribute Class

Definition

This attribute is used to mark tasks that need to be run in their own app domains. The build engine will create a new app domain each time it needs to run such a task, and immediately unload it when the task is finished.

C#
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class LoadInSeparateAppDomainAttribute : Attribute
Inheritance
LoadInSeparateAppDomainAttribute
Attributes

Constructors

LoadInSeparateAppDomainAttribute()

Default constructor.

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17