Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Microsoft.PowerShell.SDK doesn't work in a AspNetCore Blazor WebAssembly project #13755

Closed
Labels
Issue-Metaan issue used to track multiple issuesNeeds-TriageThe issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreWG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of modules
@fMichaleczek

Description

@fMichaleczek

transferred fromdotnet/aspnetcore#25844

When using the preview of AspNetCore Blazor WebAssembly and attempting to utilize the Microsoft.PowerShell.SDK package, Blazor WebAssembly is unable to load the System.Management.Automation.dll

Steps to reproduce

  • Create new Blazor WASM project. (net5-preview.7)
  • Update project file according tothis guide.
  • AddMicrosoft.PowerShell.SDK package reference
  • Do something with aPowerShell hostExample repo

Expected behavior

it works

Actual behavior

Exceptions:

Could not load file or assembly 'System.Management.Automation, Version=7.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

Environment data

  • PowerShell 7.0.3
  • AspNetCore Blazor WebAssembly 5.0 Preview 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Metaan issue used to track multiple issuesNeeds-TriageThe issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreWG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of modules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp