I just got the Visual Studio 2012 RC Ultimate and I’m trying to connect to a database using EntityFramework Database First. I’ve created the EDMX file like I’ve done a thousand times and when I build my project I get 2 errors. I’m not sure if they are related or not.
Encountered an error hydrating the EDMX file ‘Model.edmx’.
Could not load file or assembly ‘Microsoft.Data.Tools.Schema.Sql, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
I’ve spent several hours on Google trying to see if anyone else has had this issue and I’m not finding anything at all.
Any help would be great. Thanks
C:\Program Files(x86)\MSBuild\4.0\Microsoft.Common.targets\ImportAfterMicrosoft.Data.Tools.Integration.targets
i hope this saves someone a lot of trouble like it could have for me -ck
update:
apparently this is only an issue if you installed VS2012RC over the top of VS2012 Developer Preview, as something was removed / renamed and that file remains from the old install and wreaks havoc…