私は死のイエローページを叩きました。だから私はメッセージをグーグルで検索しました:
[SEHException (0x80004005): Een extern onderdeel heefte een uitzondering veroorzaakt.] Microsoft.VisualStudio.Web.PageInspector.Runtime.NativeMethods.CloseHandle(IntPtr hHandle) +0 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil.MappedFileExists(String fileName ) +39 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil.ReadAllLinesFrom(String fileName) +66 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil.GetAllInstanceFileNames() +67 Microsoft.VisualStudio.Web.BrowserLink.Runtime.ArteryConnectionUtil .FindArteryConnection(String applicationPhysicalPath, ArteryConnectionData& connection) +48 Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(オブジェクト送信者, EventArgs e) +351 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +96
Win 8.1 x64 を使用し、VS を管理者として実行し、IIS を使用して mvc 5 プロジェクトをホストしました。これをweb.configに追加して、Googleで見つけた他のstackoverflowの質問で述べたように例外を抑制しました:
<assemblyBinding>
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Web.PageInspector.Runtime" publicKeyToken="b03f5f7f11d50a3a" />
<bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="12.3.0.0" />
</dependentAssembly>
</assemblyBinding>
問題は、ブラウザリンクが無効になっていることです。私はこれをFirefoxとChromeに持っているので、クロスブラウザ/非ブラウザのバグのようです. Visual Studio 2013.4 および 2015 ctp6 でこれを使用しています (どの ctp が現在の atm であるかはわかりません) IIS Express は機能しているようですが、それは単なる回避策です。IIS Web サーバーからホストすることを主張するとどうなりますか。