XamlTaskFactory.CleanupTask Method (ITask)
Cleans up any context or state that may have been built up for a given task.
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.
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Some factories may create an AppDomain as part of an individual task instance. Such factories use this method to shutdown the AppDomain.