-
-
Save bradwilson/7f0a34e130c9bc90fdf7 to your computer and use it in GitHub Desktop.
Disable "Always start when debugging" and disable launching browser for all projects in a solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Execute this in NuGet PowerShell console | |
$projects = get-project -all | ?{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug" } } | |
$projects | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug"} | %{ $_.Value = $False } } | |
$projects | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.DebugStartAction"} | %{ $_.Value = 4 } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment