Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly 'Microsoft.Configuration.ConfigurationBuilders.Azure, Version=1.0.0.0

Tying to build a freshly cloned project, when i build i get this error

Could not load file or assembly 'Microsoft.Configuration.ConfigurationBuilders.Azure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Things I've tried

Removing the reference and adding back in

changing build properties from debug to release

disabling strong name verification via command line using the command "sn -Vr Microsoft.Configuration.ConfigurationBuilders.Azure.dll"

i've tried updating the reference to latest / previous versions

Everything I try and nothing seems to work, any other ideas?

like image 983
dros Avatar asked Sep 17 '25 09:09

dros


1 Answers

In app.config or Web.config, delete the following:

, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
like image 183
Geoffrey Griffith Avatar answered Sep 20 '25 03:09

Geoffrey Griffith