解决方案:在web.config文件system.web/compilation节点添加配置节点:
<compilation debug="true" targetFramework="4.7.1" >
<assemblies>
<add assembly="netstandard, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=cc7b13ffcd2ddd51" />
</assemblies>
</compilation>
原文地址:https://www.cnblogs.com/zhangyingbin/p/12038355.html
时间: 2024-11-09 03:22:31