无法在资源“https://localhost:5001/_framework/System.Private.Xml.dll"的“完整性"属性中找到有效的摘要 [英] Failed to find a valid digest in the 'integrity' attribute for resource 'https://localhost:5001/_framework/System.Private.Xml.dll'

查看:27
本文介绍了无法在资源“https://localhost:5001/_framework/System.Private.Xml.dll"的“完整性"属性中找到有效的摘要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 Blazor webassembly 从 .NET 5.0 RC2 升级到 .NET 5.0.10 官方,发生错误

I upgrade Blazor webassembly from .NET 5.0 RC2 to .NET 5.0.10 official, error happen

未能在 'integrity' 属性中找到有效的摘要资源'https://localhost:5001/_framework/System.Private.Xml.dll'具有计算的 SHA-256 完整性'UHUX2q+Gx7354mjjr1ud+dPsuU8BCFGrvInaRS1WmB8='.该资源已被屏蔽了.

Failed to find a valid digest in the 'integrity' attribute for resource 'https://localhost:5001/_framework/System.Private.Xml.dll' with computed SHA-256 integrity 'UHUX2q+Gx7354mjjr1ud+dPsuU8BCFGrvInaRS1WmB8='. The resource has been blocked.

如何解决?

推荐答案

当您遇到此问题时,只需重新构建解决方案即可重新生成文件哈希.

When you have this issue, simply rebuild the solution to regenerate files hash.

这篇关于无法在资源“https://localhost:5001/_framework/System.Private.Xml.dll"的“完整性"属性中找到有效的摘要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆