From 6eff9fdbea81a3b71a17de22c21b0bd07630bf1f Mon Sep 17 00:00:00 2001 From: George Fleming Date: Fri, 29 Apr 2016 08:35:16 -0700 Subject: [PATCH] Include System.Windows.Forms only if not CORECLR --- src/Microsoft.PowerShell.PSReadLine/KillYank.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.PowerShell.PSReadLine/KillYank.cs b/src/Microsoft.PowerShell.PSReadLine/KillYank.cs index ba94cbdbde..651364c78f 100644 --- a/src/Microsoft.PowerShell.PSReadLine/KillYank.cs +++ b/src/Microsoft.PowerShell.PSReadLine/KillYank.cs @@ -6,7 +6,9 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Management.Automation.Language; -//using System.Windows.Forms; +#if !CORECLR +using System.Windows.Forms; +#endif namespace Microsoft.PowerShell {