forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNETSdkInformation.cs
More file actions
32 lines (29 loc) · 1.11 KB
/
NETSdkInformation.cs
File metadata and controls
32 lines (29 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//Microsoft.NET.Build.Extensions.Tasks (net7.0) has nullables disabled
#pragma warning disable IDE0240 // Remove redundant nullable directive
#nullable disable
#pragma warning restore IDE0240 // Remove redundant nullable directive
using Microsoft.Build.Framework;
namespace Microsoft.NET.Build.Tasks
{
/// <summary>
/// Provides a localizable mechanism for logging information from the SDK targets.
/// </summary>
public class
#if EXTENSIONS
// This task source is shared with multiple task Dlls. Since both tasks
// may be loaded into the same project and each task accesses only resources
// in its own assembly they must have a unique name so-as not to clash.
NETBuildExtensionsInformation
#else
NETSdkInformation
#endif
: MessageBase
{
protected override void LogMessage(string message)
{
Log.LogMessage(MessageImportance.High, message);
}
}
}