diff --git a/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs b/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs index dde5dcdf4..8dea28787 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/AssemblyInfo.cs @@ -2,12 +2,15 @@ using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; +#if !CORECLR using System.Runtime.ConstrainedExecution; using System.Security.Permissions; +#endif [assembly:AssemblyCulture("")] [assembly:NeutralResourcesLanguage("en-US")] +#if !CORECLR [assembly:AssemblyConfiguration("")] [assembly:AssemblyInformationalVersionAttribute (@"10.0.10011.16384")] [assembly:ReliabilityContractAttribute(Consistency.MayCorruptAppDomain, Cer.MayFail)] @@ -15,14 +18,15 @@ using System.Security.Permissions; [assembly:AssemblyDescription("Microsoft Windows PowerShell Console Host")] [assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5")] +[assembly:System.Reflection.AssemblyFileVersion("10.0.10011.16384")] +[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")] [assembly:System.Reflection.AssemblyCopyright("Copyright (c) Microsoft Corporation. All rights reserved.")] [assembly:System.Reflection.AssemblyCompany("Microsoft Corporation")] -[assembly:System.Reflection.AssemblyFileVersion("10.0.10011.16384")] -[assembly:AssemblyKeyFileAttribute(@"..\signing\visualstudiopublic.snk")] -[assembly:System.Reflection.AssemblyDelaySign(true)] internal static class AssemblyStrings {