私は今、しばらくプロジェクトに取り組んできました。少し触れていなかったので、dbmlファイルを開こうとしたときにこのエラーが発生しました。Visual Studio 2010でdbmlファイルを開くことができなくなりました
'Microsoft.VisualStudio.Data.Providers.SqlCompact.VsPackage、 Microsoft.VisualStudio.Data.Providers.SqlCompact、バージョン= 4.0.0.0、 カルチャニュートラル、PublicKeyToken = = 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>
という行は結果をもたらしません。