Skip to content

Commit 3dbfedd

Browse files
author
Kapil Borle
committed
Enable logger for full CLR
1 parent cacef01 commit 3dbfedd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Engine/Loggers/WriteObjectsLogger.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
using System;
1414
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic;
1515
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands;
16-
//using System.ComponentModel.Composition;
16+
#if !CORECLR
17+
using System.ComponentModel.Composition;
18+
#endif // CORECLR
1719
using System.Globalization;
1820
using System.Reflection;
1921
using System.Resources;
@@ -24,7 +26,9 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Loggers
2426
/// <summary>
2527
/// WriteObjectsLogger: Logs Diagnostics though WriteObject.
2628
/// </summary>
27-
// [Export(typeof(ILogger))]
29+
#if !CORECLR
30+
[Export(typeof(ILogger))]
31+
#endif
2832
public class WriteObjectsLogger : ILogger
2933
{
3034
#region Private members

0 commit comments

Comments
 (0)