SignalR 2.0.2 and Owin 2.0.0 dependency conflict

后端 未结 3 702
北荒
北荒 2020-12-09 15:17

I\'m trying to get SignalR working in an MVC5 project with individual accounts.

The MVC project has by default Owin 2.0.0 and all of the Owin.* components are also

3条回答
  •  [愿得一人]
    2020-12-09 16:07

    You can update this references to the lastest version I found (now is 2.1.0):

    Install-Package Microsoft.Owin -Version 2.1.0
    Install-Package Microsoft.Owin.Security -Version 2.1.0
    

    And make sure your Web.config have these binding redirects for version 2.1.0:

    
      
        
          
            
            
          
          
            
            
          
        
      
    
    

    Or you can update this references to version 2.0.1:

    Install-Package Microsoft.Owin -Version 2.0.1
    Install-Package Microsoft.Owin.Security -Version 2.0.1
    

    And make sure your Web.config have these binding redirects for version 2.0.1:

    
      
        
          
            
            
          
          
            
            
          
        
      
    
    

提交回复
热议问题