Could not load file or assembly System.Web.WebPages.Deployment

后端 未结 7 1717
[愿得一人]
[愿得一人] 2020-12-18 23:53

Im working developing a system web page and suddenly appears this error:

Could not load file or assembly \'System.Web.WebPages.Deployment, Version=1.0.0.0, C         


        
相关标签:
7条回答
  • 2020-12-19 00:20

    copy this code in the "configuration" of Web.config,that will do it

      <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages.Deployment" publicKeyToken="31BF3856AD364E35" culture="neutral"/>
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
      </dependentAssembly>
    </assemblyBinding></runtime>
    
    0 讨论(0)
提交回复
热议问题