From a4ad8c0793543d02aabb6142b7646f7d2b96164b Mon Sep 17 00:00:00 2001 From: Peter Honeder Date: Mon, 20 Jul 2015 16:54:39 -0700 Subject: [PATCH] added file version info attributes to main assemblies --- .../Microsoft.Management.Infrastructure.assembly-info.cs | 2 ++ ...oft.PowerShell.CoreCLR.AssemblyLoadContext.assembly-info.cs | 3 ++- .../System.Management.Automation.assembly-info.cs | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs b/src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs index 13cbef48e..8e1b67f88 100644 --- a/src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs +++ b/src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs @@ -1,3 +1,5 @@ using System.Runtime.CompilerServices; +using System.Reflection; [assembly:InternalsVisibleTo("System.Management.Automation")] +[assembly:AssemblyFileVersionAttribute("1.0.0.0")] diff --git a/src/assembly-info/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.assembly-info.cs b/src/assembly-info/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.assembly-info.cs index 0e4fd9158..f93af66d0 100644 --- a/src/assembly-info/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.assembly-info.cs +++ b/src/assembly-info/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.assembly-info.cs @@ -1,3 +1,4 @@ using System.Runtime.CompilerServices; +using System.Reflection; [assembly:InternalsVisibleTo("System.Management.Automation")] -//[assembly:InternalsVisibleTo("ps_hello_world")] +[assembly:AssemblyFileVersionAttribute("1.0.0.0")] diff --git a/src/assembly-info/System.Management.Automation.assembly-info.cs b/src/assembly-info/System.Management.Automation.assembly-info.cs index 3111b04a5..0f646d9ac 100644 --- a/src/assembly-info/System.Management.Automation.assembly-info.cs +++ b/src/assembly-info/System.Management.Automation.assembly-info.cs @@ -6,8 +6,8 @@ using System.Reflection; [assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")] [assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")] [assembly:InternalsVisibleTo("Microsoft.PowerShell.CoreCLR.AssemblyLoadContext")] -//[assembly:InternalsVisibleTo("ps_hello_world")] [assembly:InternalsVisibleTo("ps_test")] +[assembly:AssemblyFileVersionAttribute("1.0.0.0")] //