nightroman / Mdbc

MongoDB Cmdlets for PowerShell
Apache License 2.0
141 stars 16 forks source link

Microsoft.Extensions.Logging.Abstractions macOS arm64 #79

Closed justcain-ok closed 1 year ago

justcain-ok commented 1 year ago

Issue: Connect-Mdbc: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9723829ddaa61'. Could not find or load a specific file. (0x80131621)

I get this behavior in VSCODE only, any suggestions?

nightroman commented 1 year ago

Could you please provide some more details:

justcain-ok commented 1 year ago

Mdbc Module Version: 6.6.4 from PSGallery

Same PowerShell version in both code and terminal. Freshly installed all of it. (My script suddenly stopped working when I switched Mac) but I can dump it anyways.

From terminal:

Name Value


PSVersion 7.3.3 PSEdition Core GitCommitId 7.3.3 OS Darwin 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:46 PST 2023; root:xnu-8792.81.… Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

From vscode:

Name Value


PSVersion 7.3.3 PSEdition Core GitCommitId 7.3.3 OS Darwin 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:46 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6020 Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

nightroman commented 1 year ago

All looks good and up to date... Unfortunately I cannot recommend anything at all. And macOS arm64 is a totally different planet to me, too.

justcain-ok commented 1 year ago

It seems to be the extension in vs code that trips this up.

nightroman commented 1 year ago

I am closing this. It's very unlikely unfortunately that we'll have any progress.