Skip to content

[BUG] Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0' #3057

Discussion options

You must be logged in to vote

hi @DavidSchmidt1 , seems like you are loading some Az modules.

If not using, can you please remove them from requirements.psd1 file.

If you need to use , then unfortunately we can't do anything about it because Az modules are using a different version of the DLL which conflicts with the one that we are using. We can't control this scenario unfortunately.

Maybe you can try loading PnP commands in a different thread , that can help ?

https://pnp.github.io/powershell/articles/azurefunctions.html

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@DavidSchmidt1
Comment options

@DavidSchmidt1
Comment options

@AndersRask
Comment options

@DavidSchmidt1
Comment options

@AndersRask
Comment options

Answer selected by DavidSchmidt1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #3055 on April 25, 2023 13:40.