我一直在做一段时间的项目。我没有碰到它,当我回到它并试图打开dbml文件时,我得到这个错误。无法在Visual Studio 2010中打开我的dbml文件
在 'Microsoft.VisualStudio.Data.Providers.SqlCompact.VsPackage, Microsoft.VisualStudio.Data.Providers.SqlCompact,版本= 4.0.0.0, 文化=中性公钥= 89845dcd8080cc91' 包未加载 正确。
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\Gary\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
后您单击此错误OK,另一弹出式窗口出现,并说:“Visual Studio中遇到意外的错误。”
我试图修复Visual Studio 2010,并没有帮助,所以我也卸载并重新安装它。仍然没有运气。任何人都知道发生了什么事以及如何解决它?
更新:我使用/ log参数从命令提示符启动了Visual Studio 2010,并检查了生成的日志文件。看到这些错误。
<entry>
<record>377</record>
<time>2011/08/03 20:30:38.399</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Microsoft.VisualStudio.Data.Providers.SqlCompact.VsPackage, Microsoft.VisualStudio.Data.Providers.SqlCompact, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91]</description>
<guid>{51DD7941-149C-412F-8583-04644B87305F}</guid>
<hr>80131522</hr>
<errorinfo>Could not load type 'Microsoft.VSDesigner.VSDesignerPackage.ICustomProviderAssemblyService' from assembly 'Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</errorinfo>
</entry>
<entry>
<record>378</record>
<time>2011/08/03 20:30:38.403</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Data.Providers.SqlCompact.VsPackage, Microsoft.VisualStudio.Data.Providers.SqlCompact, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91]</description>
<guid>{51DD7941-149C-412F-8583-04644B87305F}</guid>
<hr>80131522</hr>
<errorinfo>Could not load type 'Microsoft.VSDesigner.VSDesignerPackage.ICustomProviderAssemblyService' from assembly 'Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</errorinfo>
</entry>
而对那些<errorinfo>
谷歌搜索结果没有结果。