I have Visual Studio 2015 installed and when I launch a command prompt on Windows, it’s generally the Visual Studio 2015 Developer Command prompt (in fact, I have it pinned to my Windows 10 task bar).
On Windows, using Visual Studio Code 1.7+, pressing SHIFT+CTRL+C opens a Windows Command prompt from the root directory of your opened folder. It’s super useful.
I wanted the Developer Command prompt to open instead of a standard command prompt.
To change that, open the User Settings:
Add the following:
"terminal.external.windowsExec": "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\VsDevCmd.bat"
Of course, you can use other batch or command files to customize the prompt. I just wanted all of the standard developer tools I have installed to be available.
If you’re seeing a credentials prompt every time you launch a local IIS or IIS Express web application that requires Windows Authentication, you’ll likely grow as tired of typing in your password as I was. To add to the annoyance, the Remember my credentials checkbox doesn’t work (nothing is saved).
- Windows 8
- Visual Studio 2012, .NET 4.5,
- ASP.NET MVC web application
- Non domain-joined computer (it’s on my home network)
- Using a Microsoft account (FKA Live ID) as the local account
- Using IIS Express/IIS
- Windows Authentication Enabled
- Anonymous Logon Disabled
<windowsAuthentication enabled="true" />
<anonymousAuthentication enabled="false" />
While there are a few proposed solutions, this is the only one that worked for me so far.
- Start Internet Explorer
- Click the settings Menu
- Select Internet options
- Click the Security tab
- Select Local intranet
- Click Sites
- Click Advanced
- Add http://localhost to the Local intranet zone
- Verify it’s now working.
Alternatives welcomed. :)