Skip to content

Microsoft.PowerShell.SDK version 6.1.0-preview.4 fails at InitialSessionState.CreateDefault() #7339

@jherby2k

Description

@jherby2k

I'm unable to use preview.4 of the SDK with my test project. preview.3 worked fine. The test project targets .net core 2.1.

Steps to reproduce

  1. Clone https://github.com/jherby2k/AudioWorks.git.
  2. Run the tests in the AudioWorks.Commands.Tests project. All should pass.
  3. Change the project to reference Microsoft.PowerShell.SDK version 6.1.0-preview.4 (from preview.3)
  4. 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.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions