デバッグを開始すると、Visual Studioが新しいブラウザウィンドウを起動しないようにしますか?


Stop Visual Studio from launching a new browser window when starting debug?
I already have a window open with the web site I'm debugging. デバッグ中のWebサイトでウィンドウを開きました.I don't need VS to launch another one for me every time I need to debug. デバッグが必要になるたびに、VSがもう一つを起動する必要はありません.
Is there a way to stop this behavior? このような行為を阻止する方法はありますか?

1階


参照先:https://stackoom.com/question/30om/デバッグの開始時-Visual-Studioが新しいブラウザウィンドウを起動するのを阻止

2階


There seems to be one case in which none of the above but the following helps. 上記の状況はないようですが、以下の状況が役立ちます.I'm developing a project for Windows Azure cloud platform and I have a web role. Windows Azureクラウドプラットフォームのプロジェクトを開発しています.Webロールがあります.There is indeed a radio button Don't open page in Project -> {Project name} properties... as was pointed out by Pawel Krakowiak, but it has no effect in my case whatsoever. プロジェクト->{プロジェクト名}プロパティでページを開かないラジオボタンがあります.Pawel Krakowiakが指摘したように、それは私の状況に何の影響もありません.However, there is the main cloud project in solution explorer and there is the Roles folder under it. ただし、ソリューションエクスプローラには、Rolesフォルダの下にある主要なクラウドプロジェクトがあります.If I right click my web role in this folder and choose Properties , I get another set of settings and on the Configuration tab there is the Launch browser for flag, after unchecking it a new browser window is not opened on application start up. このフォルダでWebロールを右クリックして「プロパティ」を選択すると、別の設定のセットが表示され、「構成」タブに「ブラウザの起動」マークが付いています.選択を解除すると、アプリケーションの起動時に新しいブラウザウィンドウは開きません.

#3階


CTRL+ALT+ENTER if your amends are front end only修正がフロントエンドのみの場合はCTRL+ALT+ENTERを押してください
http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

#4階


In an ASP.Net 5 project this can now be set for each launch profile. ASP.Net 5プロジェクトでは、起動プロファイルごとにこのプロジェクトを設定できるようになりました.
Open the file launchsettings.json under the Startup Project Properties folder and add "launchBrowser": false to the profile you are configuring,such as in:Startup Project Propertiesフォルダの下でファイルを開くlaunchsettings.jsonは、構成中のプロファイルに"launchBrowser": falseを追加します.たとえば、次のようにします.
"profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": false,
      "environmentVariables": {
        "Hosting:Environment": "Development"
      }
    }
}

#5階


I looked over the answers and didn't see the solution I found mentioned. 私は答えを見たが、私が見つけた解決策は見えなかった.If it was, my apologies. もしそうなら、謝ります.In my case, currently using Visual Studio 2015. In the solution explorer, right click on the Project file and click properties. 私にとって、現在Visual Studio 2015を使用しています.ソリューションエクスプローラでProjectファイルを右クリックし、「プロパティ」をクリックします.Go to the Debug tab and this should have info for how you're launching "IIS Express or Web(DNX)"for the first two drop downs, and then there should be a checkmark box for "Launch URL:". Debugタブに移動します.このタブには、最初の2つのドロップダウン・リストの「IIS ExpressまたはWeb(DNX)」を起動する方法についての情報があり、「起動URL:」のチェック・ボックスがあります.Uncheck this option and your browser won't be automatically launched everytime you go to debug your application. このオプションをオフにすると、アプリケーションをデバッグするたびにブラウザが自動的に起動しません.Hope this helps someone out. 誰かに役に立つことを願っています.

#6階


Updated answer for a .NET Core Web Api project... 更新しました.NET Core Web Apiプロジェクトの答え・・・
Right-click on your project, select "Properties,"go to "Debug"and untick the "Launch browser"checkbox (enabled by default). アイテムを右クリックして[プロパティ](Properties)を選択し、[デバッグ](Debug)に移動し、[ブラウザを起動](Start Browser)チェックボックスのチェックマークを消します(既定値はオン).