System.Net.Http version conflict causing build warning

前端 未结 1 1977
名媛妹妹
名媛妹妹 2020-12-29 02:44

The nuget package Microsoft.Net.Http.2.0.20710.0 is causing me a build warning because of its use of System.Net.Http, Version=2.0.0.0 which is fighting with version 4 coming

1条回答
  •  情深已故
    2020-12-29 03:32

    You can try the workaround mentioned in this Microsoft Connect bugreport.

    Or you can try and add something like this to your Web.config:

      
        
          
            
            
          
        
      
    

    Edit:

    This is the workaround in the Connect Bug:

    modify.......:
    to read ......:

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