7

ASP.NET アプリ/サイトをロードすると、「例外が発生しました。拡張機能が原因である可能性があります」というエラー メッセージが表示されます。

次に、このファイルを調べるように指示します。

C:\Users\Clay\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml

...問題に関連している可能性のある 3 つのエントリを見つけましたが、それらは「私にとってギリシャ語」です。ボリュームがあるため、最初のものだけをここに含めます。

  <entry>
    <record>676</record>
    <time>2013/10/22 13:52:50.109</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.ComponentModel.Composition.CompositionException: The composition produced a single composition error, with 2 root causes. The root causes are provided below. Review the CompositionException.Errors property for more detailed information.&#x000D;&#x000A;&#x000D;&#x000A;1) The export &apos;Microsoft.VisualStudio.Shell.SVsServiceProvider&apos; is not assignable to type &apos;System.Void&apos;.&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot set import &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager.VsServiceProvider (ContractName=&quot;Microsoft.VisualStudio.Shell.SVsServiceProvider&quot;)&apos; on part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager.VsServiceProvider (ContractName=&quot;Microsoft.VisualStudio.Shell.SVsServiceProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot get export &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager&quot;)&apos; from part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot set import &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider.RegistryManager (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager&quot;)&apos; on part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider.RegistryManager (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot get export &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider&quot;)&apos; from part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot set import &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.BufferFeatureManagerProvider (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider&quot;)&apos; on part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.BufferFeatureManagerProvider (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot get export &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName=&quot;Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider&quot;)&apos; from part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName=&quot;Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&#x000D;&#x000A;&#x000D;&#x000A;2) The export &apos;Microsoft.VisualStudio.Web.Extensions.HTML.TagNameProvider (ContractName=&quot;Microsoft.VisualStudio.Web.Extensions.HTML.ITagNameProvider&quot;)&apos; is not assignable to type &apos;System.Void&apos;.&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot set import &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet.TagNameProvider (ContractName=&quot;Microsoft.VisualStudio.Web.Extensions.HTML.ITagNameProvider&quot;)&apos; on part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet.TagNameProvider (ContractName=&quot;Microsoft.VisualStudio.Web.Extensions.HTML.ITagNameProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot get export &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider&quot;)&apos; from part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot set import &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.TagNameProvider (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider&quot;)&apos; on part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.TagNameProvider (ContractName=&quot;Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&#x000D;&#x000A;&#x000D;&#x000A;Resulting in: Cannot get export &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName=&quot;Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider&quot;)&apos; from part &apos;Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&apos;.&#x000D;&#x000A;Element: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName=&quot;Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider&quot;) --&gt;  Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider&#x000D;&#x000A;&#x000D;&#x000A;   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)&#x000D;&#x000A;   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)&#x000D;&#x000A;   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()&#x000D;&#x000A;   at System.ComponentModel.Composition.Primitives.Export.get_Value()&#x000D;&#x000A;   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)&#x000D;&#x000A;   at System.ComponentModel.Composition.ExportServices.&lt;&gt;c__DisplayClass4`2.&lt;CreateStronglyTypedLazyOfTM&gt;b__1()&#x000D;&#x000A;   at System.Lazy`1.CreateValue()&#x000D;&#x000A;   at System.Lazy`1.LazyInitValue()&#x000D;&#x000A;   at System.Lazy`1.get_Value()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)</description>
  </entry>

デコードされたエラーは次のとおりです。

System.ComponentModel.Composition.CompositionException: 構成で 1 つの構成エラーが発生し、2 つの根本原因がありました。根本的な原因を以下に示します。詳細については、CompositionException.Errors プロパティを確認してください。

1) エクスポート 'Microsoft.VisualStudio.Shell.SVsServiceProvider' は、タイプ 'System.Void' に割り当てられません。

結果: 一部の 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared でインポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager.VsServiceProvider (ContractName="Microsoft.VisualStudio.Shell.SVsServiceProvider")' を設定できません.RegistryManager'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager.VsServiceProvider (ContractName="Microsoft.VisualStudio.Shell.SVsServiceProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager

結果: 一部の 'Microsoft.VisualStudio.JavaScript.Web からエクスポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager")' を取得できません.Extensions.Shared.RegistryManager'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.RegistryManager

結果: 一部 'Microsoft.VisualStudio.JavaScript でインポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider.RegistryManager (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager")' を設定できません.Web.Extensions.Shared.BufferFeatureManagerProvider'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider.RegistryManager (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IRegistryManager") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared .BufferFeatureManagerProvider

結果: エクスポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider")' を部分 'Microsoft.VisualStudio.JavaScript.Web から取得できません.Extensions.Shared.BufferFeatureManagerProvider'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.BufferFeatureManagerProvider

結果: 一部の 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.BufferFeatureManagerProvider (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider")' のインポートを設定できません.Web.Extensions.Classification.SPARegionTaggerProvider'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.BufferFeatureManagerProvider (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.IBufferFeatureManagerProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification .SPARegionTaggerProvider

結果: 一部の 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification からエクスポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName="Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider")' を取得できません.SPARegionTaggerProvider'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName="Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider

2) エクスポート 'Microsoft.VisualStudio.Web.Extensions.HTML.TagNameProvider (ContractName="Microsoft.VisualStudio.Web.Extensions.HTML.ITagNameProvider")' は、タイプ 'System.Void' に割り当てられません。

結果: 一部の 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet.TagNameProvider (ContractName="Microsoft.VisualStudio.Web.Extensions.HTML.ITagNameProvider")' のインポートを設定できません.Extensions.Shared.SPASupportedTagSet'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet.TagNameProvider (ContractName="Microsoft.VisualStudio.Web.Extensions.HTML.ITagNameProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet

結果: エクスポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider")' を部分 'Microsoft.VisualStudio.JavaScript.Web から取得できません.Extensions.Shared.SPASupportedTagSet'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.SPASupportedTagSet

結果: インポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.TagNameProvider (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider")' を部分 'Microsoft.VisualStudio.JavaScript に設定できません.Web.Extensions.Classification.SPARegionTaggerProvider'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider.TagNameProvider (ContractName="Microsoft.VisualStudio.JavaScript.Web.Extensions.Shared.ISPASupportedTagProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification .SPARegionTaggerProvider

結果: 一部の 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification からエクスポート 'Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName="Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider")' を取得できません.SPARegionTaggerProvider'.
要素: Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider (ContractName="Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider") --> Microsoft.VisualStudio.JavaScript.Web.Extensions.Classification.SPARegionTaggerProvider

   System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart (ImportEngine エンジン、ComposablePart パーツ、ExportDefinition 定義) で
   System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue (CatalogPart パーツ、ExportDefinition エクスポート、ブール値の isSharedPart) で
   System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore () で
   System.ComponentModel.Composition.Primitives.Export.get_Value() で
   System.ComponentModel.Composition.ExportServices.GetCastedExportedValue [T] (エクスポート エクスポート) で
   System.ComponentModel.Composition.ExportServices.c__DisplayClass4`2.b__1() で
   System.Lazy`1.CreateValue() で
   System.Lazy`1.LazyInitValue() で
   System.Lazy`1.get_Value() で
   Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers (ITextBuffer textBuffer) で
4

1 に答える 1