Could not load file or assembly 'System.Web.Providers"

前端 未结 5 1084
你的背包
你的背包 2021-02-07 13:48

hello this my config file



  
    
相关标签:
5条回答
  • 2021-02-07 14:20

    Use this NuGet command to install your DLL automatically:

    Install-Package Microsoft.AspNet.Providers.Core
    

    For more information about Nuget Packages, read this and this one for a tutorial.

    0 讨论(0)
  • 2021-02-07 14:28

    For me, I had upgraded the version of Web Providers with NuGet and this broke my app. I had to go into web.config and manually update all assembly references in the provider sections to 2.0.0.0 instead of 1.0.0.0 since the new version of the System.Web.Providers assembly was 2.0.0.0.

    0 讨论(0)
  • 2021-02-07 14:30

    In the Package Manager Console, I installed new packages as below and all was good in the world once again.

    Install-Package Microsoft.AspNet.Providers
    Install-Package Microsoft.AspNet.Providers.Core

    0 讨论(0)
  • 2021-02-07 14:32

    I think you should set Copy Local=true and ensure to use same version of .net framework.

    0 讨论(0)
  • 2021-02-07 14:41

    Apparently you haven't deployed the System.Web.Providers assembly in your bin folder. Make sure it is marked with Copy Local=true?

    0 讨论(0)
提交回复
热议问题