We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cacef01 commit 3dbfeddCopy full SHA for 3dbfedd
Engine/Loggers/WriteObjectsLogger.cs
@@ -13,7 +13,9 @@
13
using System;
14
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic;
15
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands;
16
-//using System.ComponentModel.Composition;
+#if !CORECLR
17
+using System.ComponentModel.Composition;
18
+#endif // CORECLR
19
using System.Globalization;
20
using System.Reflection;
21
using System.Resources;
@@ -24,7 +26,9 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Loggers
24
26
/// <summary>
25
27
/// WriteObjectsLogger: Logs Diagnostics though WriteObject.
28
/// </summary>
- // [Export(typeof(ILogger))]
29
30
+ [Export(typeof(ILogger))]
31
+#endif
32
public class WriteObjectsLogger : ILogger
33
{
34
#region Private members
0 commit comments