Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to load the specified metadata resource of EF connection string #47
I create a edmx data model by EF to connect Northwind database in my localDB and write a simple sample code to query data. The test will pass, but alive launch test case will throw exception "Unhandled MetadataException: Unable to load the specified metadata resource".
here is my connection string information of App.config:
There is nothing strange in Alive output window.
VS2015, EF v6.1.3, NUnit v2.6.4, Alive v0.6.5
I've looked at the error online and found a couple leads on what it might be. It's possible we're not copying certain resources to the output folder.
We've never used EntityFramework before, so I'm downloading SQL Server and setting up the Northwind sample to try to reproduce this. I'll update this issue as I make progress.
This has proven to be a little more difficult than I thought. It turns out EntityFramework is rewriting DLLs after they're compiled and inserting Metadata artifacts into the assemblies.
I've opened a Stack Overflow question to hopefully learn how we can use the