我正在使用Entity framework的数据库优先方法。当我在“ADO.NET Entity Data Model”中创建新连接时,在添加服务器名称和数据库名称后,它会显示以下错误 -
Could not load file or assembly
'Microsoft.SqlServer.Management.Sdkc.Sfc, Version=11.0.0.0,
Culture=neutral, PublicKey Toekn = 89845dcd8080cc91' or one of its
dependencies. The system cannot find the file specified.
在谷歌上找到了很多链接并尝试了,但它不能解决我的问题。
无法加载 Microsoft.SqlServer.management.sdk.sfc 版本 11.0.0.0 的文件或程序集
尝试了以下方法:
SharedManagementObjects.msi(64 位)(正确安装并重新启动 VS,但仍然出现相同的错误)
PowerShellTools.msi
Visual Studio 2012、SQL Server 2008 R2、64 位操作系统