From 72b763a7e1c0d1a59083ebbb9c4c19bb67d5102d Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 9 May 2016 12:39:24 -0700 Subject: [PATCH] Fix ConsoleHost on Windows CoreCLR build --- src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs b/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs index b3af64a446..fad3142bb2 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs @@ -7,12 +7,11 @@ using System.Runtime.ConstrainedExecution; using System.Security.Permissions; #endif -[assembly:InternalsVisibleTo("powershell-tests")] - +#if CORECLR [assembly:AssemblyCulture("")] [assembly:NeutralResourcesLanguage("en-US")] - -#if !CORECLR +[assembly:InternalsVisibleTo("powershell-tests")] +#else [assembly:AssemblyConfiguration("")] [assembly:AssemblyInformationalVersionAttribute (@"10.0.10011.16384")] [assembly:ReliabilityContractAttribute(Consistency.MayCorruptAppDomain, Cer.MayFail)] @@ -24,6 +23,7 @@ using System.Security.Permissions; [assembly:AssemblyKeyFileAttribute(@"..\signing\visualstudiopublic.snk")] [assembly:System.Reflection.AssemblyDelaySign(true)] #endif + [assembly:System.Runtime.InteropServices.ComVisible(false)] [assembly:System.Reflection.AssemblyVersion("3.0.0.0")] [assembly:System.Reflection.AssemblyProduct("Microsoft (R) Windows (R) Operating System")]