Repository navigation
Closed
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Description
The format ps1xml file is not valid and causing some internal state that causes PowerShellGet tests to fail as it can't find a cmdlet that should be available. Needs to be investigated.
Steps to reproduce
$xmlContent = @"
<Configuration>
<ViewDefinitions>
<View>
<Name>T2</Name>
</View>
</ViewDefinitions>
</Configuration>
"@
$xmlContent | Out-File -FilePath ".\test.format.ps1xml" -Encoding ascii
Update-FormatData -Path ".\test.format.ps1xml" "FormatXmlUpdateException,Microsoft.PowerShell.Commands.UpdateFormatDataCommand"
Start-PSPester -TerseExpected behavior
Tests to pass
Actual behavior
Describing PowerShellGet - Module tests
[-] Error occurred in Describe block 424ms
The 'Get-PSRepository' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'.
At /Users/steve/repos/PowerShell/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:76 char:13
Environment data
Name Value
---- -----
PSVersion 6.0.0-beta.8
PSEdition Core
GitCommitId v6.0.0-beta.8-38-g6121d891d98cf4f813ac013ef8faa1bc8e68296d
OS Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0 Metadata
Metadata
Assignees
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Activity
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.