Azure functions runtime exception, the type initializer for system data sqlclient excetion, Unable to load DLL 'sni.dll'

前端 未结 2 1087
清酒与你
清酒与你 2021-01-21 13:14

I am using aspnet core 3.0 and azure function v3-preview with system.data.sqlclient version 4.7.0 When i try to run azure function(on both service queue trigger

2条回答
  •  再見小時候
    2021-01-21 13:40

    It worked for me by adding below code in csproj file :

    
    
      
    
    

    This line should be taking care of that:

    reference : github

提交回复
热议问题