monitor-table-change-with-sqltabledependency icon indicating copy to clipboard operation
monitor-table-change-with-sqltabledependency copied to clipboard

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

Open jatinrdave opened this issue 2 years ago • 2 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.

jatinrdave avatar Jun 22 '23 11:06 jatinrdave

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.

stoyanov-x avatar Jun 22 '23 11:06 stoyanov-x