2017-08-14 18 views
3

我一直在使用Visual Studio 2017 Community Edition學習ASP.NET Core。當我運行一個項目時,我通常點擊IDE頂部中心的IIS Express按鈕。此操作會在Chrome(我的默認瀏覽器)中啓動一個新窗口,直到今天爲止工作得很好。用於Asp.Net核心的IIS Express無法在調試模式下在Chrome中運行

但是,今天它無法加載應用程序。瀏覽器顯示「您的應用程序正在啓動......」並保持該狀態。最後,我關閉了窗口,發現應用程序仍在VS中運行。我點擊停止調試按鈕,一分鐘後給我下面的消息:

Debugging is being stopped but is not yet complete. You can force debugging to stop immediately, but any process being detached may be terminated instead. 

This window will automatically close when the debugging has completely stopped. 

並且有一個現在停止按鈕,我點擊。當我這樣做時,診斷集線器的輸出爲:

Cannot access a disposed object. 
Object name: 'StandardClientTransportConnection'. 

我有各種解決方法。我可以運行該項目:

  • 未在任何瀏覽器中進行調試。
  • 在IE或Edge中進行調試。
  • 通過單擊項目名稱而不是IIS Express,我相信它在常規IIS中運行應用程序。

但我想了解我的問題。我試過以下內容:

  • 刪除我的個人資料下的.nuget文件夾。
  • 刪除我的文檔文件夾中的IIS Express文件夾。
  • 清除Chrome中的瀏覽器數據。

全部無效。

+0

的可能的複製[的Visual Studio 2017年,無法調試或運行應用程序(https://stackoverflow.com/questions/45690548/visual-studio-2017-cannot-調試或-運行的應用程序) –

回答

相關問題