Ask a questionAsk a question
 

AnswerEF Beta 3 not generating mapping files

  • Monday, December 10, 2007 7:34 PMmartinhughes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi all,

     

    I'm running Vista x64 (Ultimate) and VS 2008 RTM. I've installed EF Beta 3.0 and the DEC 07 Tools CTP. Everything seems to be working, except that when I follow the quick start: http://msdn2.microsoft.com/en-us/library/bb386884(VS.90).aspx I'm getting the following error:

     

    The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.

     

    I've looked around, and it appears that the csdl, ssdl and msl are not being created.

     

    Is this because EF is currently unsupported on my setup?

Answers

  • Monday, December 10, 2007 10:50 PMTommy Williams - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The design-time experience is not supported on 64-bit machines, but you should be able to work around this problem by copying two files from %windir%\Microsoft.NET\Framework64\v3.5 to %windir%\Microsoft.NET\Framework\v3.5:

    • Microsoft.Data.Entity.Build.Tasks.dll
    • Microsoft.Data.Entity.targets

    Then rebuild your project in Visual Studio.

All Replies