Bennett Bishop
Bennett Bishop

Reputation: 51

'Unable to load the specified metadata resource.' when updating from VS 2019 to 2022

When upgrading my C# project from using Visual Studio 2019 to Visual Studio 2022, I get a runtime error of "System.Data.Entity.Core.MetadataException: 'Unable to load the specified metadata resource.'" As far as I can tell, this is from the .csdl, .msl, .ssdl files not being generated in VS 2022.

Various Notes:

Overall, my question is: What could cause these files to not be generated? Do I have a setting wrong somewhere in VS or have I not installed some needed package?

Upvotes: 3

Views: 447

Answers (1)

Bennett Bishop
Bennett Bishop

Reputation: 51

Updating to the new version of dotConnect for PostgreSQL (v8.0.0) immediately fixed the problem!

Upvotes: 2

Related Questions