无法加载文件或程序集'Microsoft.Configuration.ConfigurationBuilders.Azure,版本= 1.0.0.0

试图构建一个新克隆的项目,当我构建时出现此错误

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)

我尝试过的事情

删除参考并重新添加

将构建属性从调试更改为发行版

使用命令“ sn -Vr通过命令行禁用强名验证 microsoft.Configuration.ConfigurationBuilders.Azure.dll“

我尝试将参考更新为最新/以前的版本

我尝试了一切,但似乎无济于事,还有其他想法吗?

qq7068127 回答:无法加载文件或程序集'Microsoft.Configuration.ConfigurationBuilders.Azure,版本= 1.0.0.0

在app.config或Web.config中,删除以下内容:

,Version=1.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35
本文链接:https://www.f2er.com/3116440.html

大家都在问