From d9b68f13ced212d788540f195891aa5f4f622444 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Tue, 21 Apr 2020 10:19:46 -0700 Subject: [PATCH 1/2] Update module manifest to match current module --- .../PowerShellEditorServices.psd1 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/module/PowerShellEditorServices/PowerShellEditorServices.psd1 b/module/PowerShellEditorServices/PowerShellEditorServices.psd1 index 4c5887f4f..0d42f0a0d 100644 --- a/module/PowerShellEditorServices/PowerShellEditorServices.psd1 +++ b/module/PowerShellEditorServices/PowerShellEditorServices.psd1 @@ -25,19 +25,21 @@ ModuleVersion = '2.0.0' GUID = '9ca15887-53a2-479a-9cda-48d26bcb6c47' # Author of this module -Author = 'Microsoft' +Author = 'Microsoft Corporation' # Company or vendor of this module -CompanyName = 'Microsoft' +CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '(c) 2017 Microsoft. All rights reserved.' +Copyright = '(c) Microsoft Corporation' # Description of the functionality provided by this module # Description = '' # Minimum version of the Windows PowerShell engine required by this module -# PowerShellVersion = '' +# NOTE: The syntax used above in the manifest means this manifest cannot be read in PS 4 or below. +# Instead this is just an informative field. +PowerShellVersion = '5.1' # Name of the Windows PowerShell host required by this module # PowerShellHostName = '' @@ -46,7 +48,8 @@ Copyright = '(c) 2017 Microsoft. All rights reserved.' # PowerShellHostVersion = '' # Minimum version of Microsoft .NET Framework required by this module -# DotNetFrameworkVersion = '' +# NOTE: We check this later, so that the error message is communicated properly to the user +# DotNetFrameworkVersion = '4.6.1' # Minimum version of the common language runtime (CLR) required by this module # CLRVersion = '' @@ -93,6 +96,8 @@ AliasesToExport = @() # List of all files packaged with this module # FileList = @() +CompatiblePSEditions = @('Core', 'Desktop') + # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ From 460ba0e0c0de28438a711f2775aae1cdaa51aa81 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Tue, 21 Apr 2020 11:51:50 -0700 Subject: [PATCH 2/2] Increment module version --- module/PowerShellEditorServices/PowerShellEditorServices.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/PowerShellEditorServices/PowerShellEditorServices.psd1 b/module/PowerShellEditorServices/PowerShellEditorServices.psd1 index 0d42f0a0d..30f9d3eaf 100644 --- a/module/PowerShellEditorServices/PowerShellEditorServices.psd1 +++ b/module/PowerShellEditorServices/PowerShellEditorServices.psd1 @@ -19,7 +19,7 @@ RootModule = if ($PSEdition -eq 'Core') } # Version number of this module. -ModuleVersion = '2.0.0' +ModuleVersion = '2.1.0' # ID used to uniquely identify this module GUID = '9ca15887-53a2-479a-9cda-48d26bcb6c47'