VS2010未能正确加载"XXX"包

根据上面弹出框给出的错误提示找该路径下的文件,应该是文件找不到。在网上找到一个解决办法,把下面的代码拷贝到ActivityLog.xml文件中就可以了。



    257
    
    Error
    VisualStudio
    CreateInstance failed for package [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]
    {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
    
80070002 Could not load file or assembly 'Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
258 Error VisualStudio End package load [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
80004005 - E_FAIL Could not load file or assembly 'Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

你可能感兴趣的:(.NET)