Visual Studio 2015 Update 2でcshtmlファイルをマージしようとすると、この一般的なエラーが発生し、VSがクラッシュする:ログを確認したが役立たなかったまったく。以下に示すように、例外が発生しました。これは、拡張によって引き起こされる可能性があります。Visual Studio 2015 Update 2 .cshtmlファイルをマージするときにクラッシュする
エラーがスローされた場所である可能性があります。わからない
<entry>
<record>3863</record>
<time>2016/07/20 14:11:46.766</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.ArgumentNullException: Value cannot be null.
Parameter name: key
 at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
 at Microsoft.VisualStudio.Html.Package.Extensions.ExtensionsManager.OnTextViewCreated(ITextView textView, ITextBuffer textBuffer)
 at Microsoft.Web.Editor.Controller.TextViewConnectionListener.OnTextViewGotAggregateFocus(ITextView textView, ITextBuffer textBuffer)
 at Microsoft.VisualStudio.Html.Package.Commands.Html.VsHtmlTextViewConnectionListener.OnTextViewGotAggregateFocus(ITextView textView, ITextBuffer textBuffer)
 at Microsoft.Web.Editor.Controller.TextViewConnectionListener.<>c__DisplayClass24_0.<OnTextViewConnected>b__0(Object sender, EventArgs eventArgs)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent(Object sender, EventHandler eventHandlers)</description>
</entry>
<entry>
これにより、手動でcshtmlファイルをマージする必要があります。私は2015 VS修復を試み、また、拡張の束を無効にしようとしたが、それはまだそこにあります。
これらの役に立つ拡張メッセージは、私が「もう一度やり直してください」をクリックした後に再び表示されると私を悩ませていました。 – Amicable
これは私の問題を修正(と私も完全な修理をしました)。私はマージを完了するためにVSを再起動する必要はありませんでした。 – Steve