semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

.Net: Postgres connector requires strongly-named assembly, Pgvector, for .NET Framework 4.8

Open keenam opened this issue 2 years ago • 3 comments

Describe the bug Instantiating PostgresMemoryStore causes the exception to be thrown:

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

To Reproduce Steps to reproduce the behavior:

  1. Create a console app for .NET Framework
  2. Add a nuget package for Microsoft.SemanticKernel.Connectors.Postgres --version 1.5.0-alpha
  3. Instantiate the PostgresMemoryStore

Expected behavior Instantiated successfully.

Screenshots N/A

Platform

  • OS: Windows
  • IDE: Visual Studio
  • Language: C#
  • Source: Microsoft.SemanticKernel.Connectors.Postgres --version 1.5.0-alpha

keenam avatar Mar 06 '24 03:03 keenam

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jun 05 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 19 '24 01:06 github-actions[bot]

Hi, this issue still persists in .NET Framework. Could you reopen it? The problem stems from the pgvector dependency, which is not signed. They also dropped .NET Standard support in version 0.3.0.

fabioparra avatar Feb 12 '25 14:02 fabioparra