Error: Inheritance security rules violated by type: 'System.Net.Http.WebRequestHandler'

Error: Inheritance security rules violated by type: 'System.Net.Http.WebRequestHandler'


Issue

Message=Inheritance security rules violated by type: 'System.Net.Http.WebRequestHandler'. Derived types must either match the security accessibility of the base type or be less accessible.

Source=Microsoft.Rest.ClientRuntime

Solution


I have updated nuget package "System.Net.Http" to version 4.3.1 with NuGet and that solved the issue.
  
Hope this will help you and save your time.

Enjoy !!!

:)

No comments:

Post a Comment