dotnet / dotnet/arcade

Explicitly define powershell dependency

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
servicing-consider xunit console runner
Dominant language
C#
Stars
729
Forks
397
Avg merge
3d 15m
Merged PRs (30d)
149

Description

Arcade build scripts run on whatever version of Powershell is available on the machine. Today that means we need to support Powershell v3.0, which leads to required changes like https://github.com/dotnet/arcade/pull/42.

As @natemcmaster suggested, we should be explicit about the minimum supported Powershell version that we've tested (even if that's back to 3.0).

> That makes sense. Maybe we should add `#requires`
```ps1
#requires -version 5.0
```

> https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_requires

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.