I had a project with a .EDMX in it. I had matching classes and stuff in another project that had started out as a code first development. I copied the .EDMX to the new project and lo there was the error Metadata not found…
Important thing to know: if you copy the .EDMX into a sub-directory, the sub-directory name extends the name of the model file in the connection string.
so a file called Model.edmx in a sub-directory Repository should look like this in the connection string: res://*/Repository.Model.csdl|res://*/Repository.Model.ssdl|res://*/Repository.Model.msl
-
Recent Posts
Recent Comments
Archives
Categories
Meta