添加ADO.NET Entity Data Model时 VS 报错的解决
最近重装了Win8,又重新搭建了一下开发环境,装完VS后,发现在MVC项目中添加ADO.NET Entity Data Model时会报错。
System.MissingMethodException
Method not found: 'Void Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.GetWorkload(Int32 ByRef, System.String ByRef)'.at Microsoft.VisualStudio.Data.Tools.Package.StatusBarService.TotalWorkload(String& description)
at Microsoft.VisualStudio.Data.Tools.Package.StatusBarService.UpdateStatusBar()
at Microsoft.VisualStudio.Data.Tools.Package.StatusBarService.OnIdle()
at Microsoft.VisualStudio.Data.Tools.Package.UI.DataPackage.OnIdle()
at Microsoft.VisualStudio.Data.Tools.Package.Project.VsPkgIdleProcessingComponent.FDoIdle(UInt32 grfidlef)
谷歌了一下,说是SQL Server Data Tools坏了,需要重新下载安装下,于是到
Download SQL Server Data Tools for Visual Studio 2012
进行下载安装,安装过后似乎问题真的被修复了!