Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies

后端 未结 17 2361
渐次进展
渐次进展 2020-12-03 00:43

I have a WinJS project that is previously built on Windows 8.1 using VS 2013.

Recently I upgraded this project to Universal Windows 10 by creating a blank Javascrip

17条回答
  •  一整个雨季
    2020-12-03 01:32

    Adding binding redirect configuration for Newtonsoft.Json in your configuration file (web.config) will resolve the issue.

    
        
               
                
                    
                    
                
            
        
    
    

    Since Newtonsoft.Json version in your case is 9 update the version appropriatly in the configuration.

    If this configuration does not work make sure the namespace (xmlns) in your configuration tag is correct or remove the name space completely.

    Assembly binding redirect does not work

提交回复
热议问题