IsNemoEqualTrue/monitor-table-change-with-sqltabledependency

Could not load file or assembly 'TableDependency.SqlClient, Version=8.5.8.0

jatinrdave opened this issue · 1 comments

Could not load file or assembly 'TableDependency.SqlClient, Version=8.5.8.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

I have used nuget in .NetStandard project, and calling it is .Net Framework project.

I believe the key in the error message is A strongly-named assembly is required.

It sounds like your project uses SNK (strong-name key) to sign the assembly. When you using signing, all of the dependent libraries/assemblies must be signed, and that can be hard to ensure for all third-party dependencies, like TableDependency.

If it’s a viable option for you, you’d have to disable assembly signing in your project.