| File: ITaskHost.cs | Web Access |
| Project: src\msbuild\src\Framework\Microsoft.Build.Framework.csproj (Microsoft.Build.Framework) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; #nullable disable namespace Microsoft.Build.Framework { /// <summary> /// This empty interface is used to pass host objects from an IDE to individual /// tasks. Depending on the task itself and what kinds parameters and functionality /// it exposes, the task should define its own interface that inherits from this one, /// and then use that interface to communicate with the host. /// </summary> [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [ComVisible(true)] [Guid("9049A481-D0E9-414f-8F92-D4F67A0359A6")] [SuppressMessage("Microsoft.Design", "CA1040:AvoidEmptyInterfaces", Justification = "This empty interface is used to pass host objects from an IDE to individual")] public interface ITaskHost { } }