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 }}
Microsoft.PowerShell.SDK version 6.1.0-preview.4 fails at InitialSessionState.CreateDefault() #7339
Run the tests in the AudioWorks.Commands.Tests project. All should pass.
Change the project to reference Microsoft.PowerShell.SDK version 6.1.0-preview.4 (from preview.3)
Run the tests again. Most will fail.
Expected behavior
all tests pass
Actual behavior
One or more errors occurred. (Cannot load PowerShell snap-in Microsoft.PowerShell.Diagnostics because of the following error: Could not load file or assembly '..\Source\Repos\AudioWorks\AudioWorks\tests\AudioWorks.Commands.Tests\bin\Release-Windows\netcoreapp2.1\Microsoft.PowerShell.Commands'. The system cannot find the file specified.
It appears there's a few problems. In microsoft.powershell.sdk.nuspec, the dependency on Microsoft.PowerShell.Commands.Diagnostics is missing and was there in Preview.3. Also, Preview.4 added dependency on Microsoft.PowerShell.MarkdownRender which needs to be added as a dependency and published
Activity
SteveL-MSFT commentedon Jul 24, 2018
cc Aditya Patwardhan (@adityapatwardhan)
adityapatwardhan commentedon Jul 24, 2018
Jeremy Herbison (@jherby2k) I believe this is on Windows? Which Windows version is it?
jherby2k commentedon Jul 24, 2018
SteveL-MSFT commentedon Jul 31, 2018
It appears there's a few problems. In
microsoft.powershell.sdk.nuspec, the dependency onMicrosoft.PowerShell.Commands.Diagnosticsis missing and was there in Preview.3. Also, Preview.4 added dependency onMicrosoft.PowerShell.MarkdownRenderwhich needs to be added as a dependency and publishedjherby2k commentedon Aug 1, 2018
Probably best to unpublish it until at least MarkdownRender is available, no?
adityapatwardhan commentedon Aug 1, 2018
Jeremy Herbison (@jherby2k) Thank you for reporting this issue. We will be fixing and re-publishing the SDK soon.
adityapatwardhan commentedon Aug 1, 2018
Jeremy Herbison (@jherby2k) new packages published. Can you give them a try?
jherby2k commentedon Aug 2, 2018
Thanks. Working for me!