-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Microsoft.Extensions.ObjectPool to 6.0.8 #17998
Comments
Opened PR 17999 to address. |
PowerShell doesn't directly reference The In you case, you may want to read the "Resolving dependency conflict" doc. The samples in https://github.com/daxian-dbw/PowerShell-ALC-Samples may also be helpful to you.
|
This issue has been marked as declined and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
@daxian-dbw Microsoft.Extensions.ObjectPool is distributed in the aspnet.core shared runtime. This has no impact for importing the PowerShell SDK into AspNet.Core. (dependencies are satisfied) Wouldn't it be possible to put an explicit dependency in Microsoft.PowerShell.SDK? I'm working on PowerShell WASM and need to be able to load AspNet.Core into PowerShell for easier development. |
Suffering same problem. We cannot run PowerShell commandlets that use/reference aspnet.core As a workaround we currently manually remove or replace Microsoft.Extensions.ObjectPool.dll in the PowerShell installation directory. Also see issue dotnet/aspnetcore#47352 Would be great if this could be resolved. |
same problem trigger on .net 8.0.1 |
Your method seems to work |
Summary of the new feature / enhancement
I'd like to use expose some libraries I've written as Powershell cmdlets...however I'm unable to run them in PS currently because these libraries reference Microsoft.Extensions.ObjectPool 6.0.8 and PowerShell is still using version 5. If someone could bump it, I would greatly appreciate it :)
Proposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: