System.Data.MetadataException: Unable to load the specified metadata resource

前端 未结 12 1650
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 10:18

My connection strings are as follows:



        
12条回答
  •  自闭症患者
    2020-12-16 11:04

    This answer is specific for Devart Entity developer edml file.

    When I upgraded the csproj format(Visual studio 2017 with simple format) I got this error. The csproj has a feature where you don't need to include each file instead it includes all the relevant files under the folder by default so the entity framework files are treated same way as cs files so those are not embedded into the assembly by default.

    I need to manually change the build action of my edml file to 'DevartEntityDeploy' which resolved my problem.

提交回复
热议问题