You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
If powershell.version is present but empty, $PSVersionTable.GitCommitId reports "Index was outside the bounds of the array" #3676
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId Index was outside the bounds of the array.
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The fix should also handle the case if the file is missing, putting the exception message as the GitCommitId value doesn't seem like the right solution
Activity
SteveL-MSFT commentedon May 1, 2017
The fix should also handle the case if the file is missing, putting the exception message as the GitCommitId value doesn't seem like the right solution
lzybkr commentedon May 1, 2017
The fix should generate a C# file at build time so that we don't need a file at runtime.