Skip to content

Script fails on Windows Server 2012 with error "Property 'DontShow' cannot be found" #250

@cailyoung

Description

@cailyoung

Hi there,

Our image builds for Windows Server 2012 have started failing with this error:

Property 'DontShow' cannot be found for type
'System.Management.Automation.ParameterAttribute'.
At C:\Users\Administrator\AppData\Local\Temp\install-dotnet\dotnet-install.ps1:
106 char:4

I believe (although it's a very old version) that Server 2012 (non-R2) is still supported for .NET Core installs.

Our VMs are running PowerShell 3.0, to my knowledge.

Looks like the change in #233 added this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions