Metadata file not found - Data.Entity.Model

前端 未结 9 744
失恋的感觉
失恋的感觉 2020-12-03 14:35

Anyone having similar problem, while creating webservices?

Compiling transformation: Metadata file \'D:\\Program Files\\VS2013\\Common7\\Tools..\\ID

9条回答
  •  感动是毒
    2020-12-03 14:48

    Based on

    C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes\EF6.Utility.CS.ttinclude

    , the code generator is looking for the missing DLLs in the following locations:

    <#@ assembly name="%VS120COMNTOOLS%..\IDE\EntityFramework.dll" #>
    <#@ assembly name="%VS120COMNTOOLS%..\IDE\Microsoft.Data.Entity.Design.dll" #>
    

    I discovered that the environment variable %VS120COMNTOOLS% is not compatible with the correct installation path of visual studio, so I changed it from Advanced system properties and it worked

提交回复
热议问题