IsNemoEqualTrue / monitor-table-change-with-sqltabledependency

Get SQL Server notification on record table change
MIT License
655 stars 177 forks source link

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

Open jatinrdave opened 1 year ago

jatinrdave commented 1 year ago

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.

stoyanov-x commented 1 year ago

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.