EntityHydrate task failed

Thanks for raising this. We (the EF team) did some investigation and we concluded that the issue could be triggered in a machine that contains SQL Server 11 and Visual Studio 11 Beta.

In the beta, the setup of the EF Tools (also known as “SQL Server Data Framework Tools”) contains this MSBUILD targets file:

C:\Program Files (x86)\MSbuild\4.0\Microsoft.Common.Targets\ImportAfter\Microsoft.Data.Tools.Integration.targets

Note: Use “Program Files” without “(x86)” if you have the 32 bits version of Windows.

This file is a stale remnant of the integration between the Entity Framework Designer and SQL Server Data Tools, which was contained in the Visual Studio 11 Developer Preview but removed in the beta (see here for more details). The file has been removed in more recent internal builds, so it won’t be present in RTM.

You might be able to work around this problem you can remove or rename the targets file, e.g. adding the .backup extension to it.

EDIT: Scratch that… Someone reports below that renaming is not sufficient. You have to remove the file.

The other workaround suggested in this thread will also work but it has the big disadvantage of removing the whole Entity Framework Designer from your Visual Studio setup.

Leave a Comment