Generate Code Error - Metadata file 'System.Data.Entity.dll'
Generate Code Error - Metadata file 'System.Data.Entity.dll'
When I try to generate code for my model, I get the following error using Entity Developer:
--------------------
An error occurred during an attempt to compile the template.
Error List:
error : Metadata file 'System.Data.Entity.dll' could not be found
error : Metadata file 'System.Data.Entity.Design.dll' could not be found
--------------------
I've uninstalled my dotConnect software, even manually deleted the registry keys, and reinstalled everything and I still get this error. I've never been able to generate code via my Entity Developer tool.
I've only been able to successfully create code via my EDM via VS 2008. I've been using dotConnect for Oracle since version 5.25.49 and Entity Developer since 2.20.43. I am currently using the latest build (Beta 2.80.82) and still no luck!
Please help.
--------------------
An error occurred during an attempt to compile the template.
Error List:
error : Metadata file 'System.Data.Entity.dll' could not be found
error : Metadata file 'System.Data.Entity.Design.dll' could not be found
--------------------
I've uninstalled my dotConnect software, even manually deleted the registry keys, and reinstalled everything and I still get this error. I've never been able to generate code via my Entity Developer tool.
I've only been able to successfully create code via my EDM via VS 2008. I've been using dotConnect for Oracle since version 5.25.49 and Entity Developer since 2.20.43. I am currently using the latest build (Beta 2.80.82) and still no luck!
Please help.
AndreyR:
I do have it. Like I noted, I've been developing Entity Framework-based applications for a while but have NEVER been able to get Entity Developer working, i.e. once I press the generate code button. I can generated the pertinent class files via Visual Studio.
I want to harness the robustness of the Entity Developer tool.
Please help.
I do have it. Like I noted, I've been developing Entity Framework-based applications for a while but have NEVER been able to get Entity Developer working, i.e. once I press the generate code button. I can generated the pertinent class files via Visual Studio.
I want to harness the robustness of the Entity Developer tool.
Please help.
I don't believe that's the issue.
In Visual Studio 2008, within the project where I have the EDMX file hosted, I look under the References and took a look at the path for System.Data.Entity and it is: C:\WINDOWS\assembly\GAC_MSIL\System.Data.Entity\3.5.0.0__b77a5c561934e089\System.Data.Entity.dll.
I then looked at my C:\windows\assembly directory and the dll is indeed there.
I then opened 'regedit' and did a 'Find" for the System.Data.Entity.dll and it found it within HKEY_LOCAL_MACHINE --> SOFTWARE --> Classes --> c:|Program Files|Reference Assemblies|Microsoft|Framework|v3.5|System.Data.Entity.dll.
Once again, I've always been able to create and consume models using Visual Studio but have never been able to generate via Entity Developer. I believe I've gone through 3 revisions of the product. What else could it be?
Please help.
In Visual Studio 2008, within the project where I have the EDMX file hosted, I look under the References and took a look at the path for System.Data.Entity and it is: C:\WINDOWS\assembly\GAC_MSIL\System.Data.Entity\3.5.0.0__b77a5c561934e089\System.Data.Entity.dll.
I then looked at my C:\windows\assembly directory and the dll is indeed there.
I then opened 'regedit' and did a 'Find" for the System.Data.Entity.dll and it found it within HKEY_LOCAL_MACHINE --> SOFTWARE --> Classes --> c:|Program Files|Reference Assemblies|Microsoft|Framework|v3.5|System.Data.Entity.dll.
Once again, I've always been able to create and consume models using Visual Studio but have never been able to generate via Entity Developer. I believe I've gone through 3 revisions of the product. What else could it be?
Please help.
Do you have Visual Studio 2010 (Beta 1 or any other version) installed? The problem might be associated with it.
Also please check whether you have the InstallDir value in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0' registry key. If so and you don't have any VS 2010 installed, please rename it temporarily, reinstall Entity Developer and rename it back. This should help.
Also please check whether you have the InstallDir value in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0' registry key. If so and you don't have any VS 2010 installed, please rename it temporarily, reinstall Entity Developer and rename it back. This should help.
Entity Developer Problem Generating Code
Devart -- I am noticing similar behavior on my PC. I don't have VS 2010 installed, just have 2008. I can create EDMX models just fine in VS, but I would like to use Entity Developer but have never been able to generate.
How can I check (or set) what path Entity Developer is looking for when attempting to locate System.Data.Entity.dll and System.Data.Entity.Design.dll when I press the "Generate Code for Context Model" button?
Any other suggestions?
How can I check (or set) what path Entity Developer is looking for when attempting to locate System.Data.Entity.dll and System.Data.Entity.Design.dll when I press the "Generate Code for Context Model" button?
Any other suggestions?