Visual Studio 2017 opens links in IE11. How to change that? - visual-studio

I am using a Powershell terminal via the Whack Whack Terminal add-in. For whatever reason, the links open in Internet Explorer 11.
Is there anyway to change it to a default browser?
I've followed the path from clicking a link and it seems like Internet Explorer is being kicked off from svchost.exe.
P.S. The author of the extension addressed the question on the product page Q&A.

Powershell picks up the default browser from the OS. You need to change the default browser in Windows. There are a bazillion articles for that, here is one:
Make Chrome your default browser

Related

VS2017 Blank Sign In Screen

I have a unique issue with my installation of Visual Studio 2017 where the sign in dialog is blank, and no matter how long I wait it never seems to allow me to log in.
I have tried changing the default browser to Chrome, Edge and IE just in case it was using that under the hood for rendering this page. Prior to that I had an issue with the Virtual Machine running the IDE which required me to re-register *.VBS associations to complete the install, that has been resolved and the install has passed.
I am now just left with the sign in issue as shown below:
Has anyone had this before / know of a work around here? I have been looking around on Google for similar issues but to no avail.
Any help here would be appreciated.
Thanks!
I just encountered this issue myself on Visual Studio 2017 (30-day evaluation expired too so Eduardo Zavala's suggestion isn't possible). The cause is that I have Internet Explorer 11 installed and set to be extremely restrictive security wise. For example, it will not follow a redirect if a webpage tells it to. It also has JavaScript disabled. Apparently, Visual Studio uses Internet Explorer 11 (or at least "Internet Options" rules) for this login page instead of the default browser (e.g. Microsoft Edge) and its settings.
Start Internet Explorer 11.
Click on the gear icon in the upper right corner.
Click "Internet Options."
Click on the "Security" tab.
Click "Default level" button.
Click "Apply."
Click "OK."
Run Visual Studio 2017 again and sign in.
Set Internet Explorer 11 settings back to how you prefer them.
All should be well in both programs now (VS17 authorized and IE11 restrictive).
I think I found something...
If you go to Help tab and click on Send Feedback >> Report a Problem, a Developer Community forum page will pop-up.
In this page, you will see a sign-in link very much like the one in Visual Studio.
That particular link works, so if you log in to it, then exit the Developer Community Forum, you will have successfully logged into Visual Studio.
Hope this helps.
I was able to work around it by doing the following:
At the account login screen select "Account Options"
Under Environment > Accounts on the Sign-In Options section, change the "Add and Reauthenticate accounts using:" pull down menu to "System Web Browser"
Options dialog box
This will open the dialog box IE or whatever default web browser you use and should allow you to login.
I had the same issues. The problem was with Internet Explorer. My computer has Internet Explorer 8.
Please follow the steps below to fix the issue.
Install Internet Explorer 11 - you can download it from the Microsoft site.
Restart the computer
Relaunch Visual Studio
Now sign in.
No blank screen will be displayed.
I had the same issue with VS2019, this ended up being blocked by a web filter and could see logincdn.msauth.net being blocked while signing into VS2019.
I would suggest adding an exception for *.msauth.net to allow the sign-in page to load.
This doesn't appear in the list from Microsoft firewall and proxy URLs - https://learn.microsoft.com/en-us/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server?view=vs-2019
On the signin screen click Account Options
Then change Embedded web browser to System web browser
The login screen now opened up a full browser instead of the blank screen.
Just change your default Internet browser to Internet Explorer.

Change Ctrl+Click Behavior in VS Output Window

Is there a way to change how links are opened from the Output Window (not an Editor)?
Meaning, when the Output Windows detects a link, it's Ctrl+Click-able and opens in an Internet Explorer tab.
I'd like to change the target from IE to the Text Editor and still within Visual Studio.
There are solutions for changing the click behavior in an Editor, but I am asking specifically about the Output Window. I understand the answer might just be no.
There's a Visual Studio Extension that lets you open URIs in the browser (https://visualstudiogallery.msdn.microsoft.com/46c0c49e-f825-454b-9f6a-48b216797eb5).
I've forked it and made some updates so that it will handle file:/// URIs as well, opening them in the Visual Studio editor or an external editor. I've published a debug version that hasn't been very heavily tested here. You can peruse the full source of my fork here, or the original source here.
This makes debugging/working with the BizTalk map/schema tools a lot better...

How to show / unhide Web Essential bar from chrome?

I've checked autohide and the bar disappeared but now how can I see it again?
It's enough to press CTRL from inside Chrome.
To see the Web Essentials menu in Chrome when using Visual Studio 2015:
Ensure you've installed Web Essentials 2015 - https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2
Click the 'View in Browser' button in Visual Studio to view your site:
The Web Essentials menu will appear as an overlay at the bottom of your web page
Press CTRL in Chrome to toggle the Web Essentials menu on or off
CTRL works inside of Internet explorer as well.
Note that you have to have BrowserLink enabled. Otherwise Ctrl doesn't do anything.
Note, this feature is no longer available in Visual Studio 2017 update 3 as the author, madskristensen states:
It was removed for several reasons.
It interfered too much with the DOM of the running page
It didn't work when the various features were split out into their own extension
I build this Chrome extension to replace it
Link to image of evidence is below.(Not enough rep to show image on post)
Author of web essentials explaining why the tool bar is not suitable for the browser
Link to issue on github
There is a WebEssentials2015-Settings.json file which contains default settings for web essentials (e.g. for VS2015 it is \AppData\Roaming\Microsoft\VisualStudio\14.0\WebEssentials2015-Settings.json).
After I clicked autohide the only way for me to bring the web essentials menu back in the browsers was to edit this file setting the ShowMenu to true ("ShowMenu": true). That fixed the issue for me.
One note though, this file seems to be read on VS startup so you may need to restart VS to see the difference. Also these settings can be separately set for each solution (Web Essentials > Create solution settings). This option creates the .json file specific for given solution.

Default Browser- Visual Web Developer Express 2010

I am trying to debug a Windows Azure WebRole which is an MVC3 project, but I want it to launch in any browser of my choice.
The Windows Azure is set as the Startup Project and launches the MVC3 project WebRole.
I am using Visual Studio Web Developer Express 2010.
I have previously stabbed in the dark by setting the following properties as in the image below but to no avail:
I then decided to set the project to not independently launch a page as above.
Is there a way to setup a default browser with the above scenario AND without changing my Windows default browser?
I've gotten around this in the past by adding in an ASPX or HTML page to the project and then right clicking it and selecting Browse With. You can then change the default browser in there without having to change your default browser within windows.
I haven't tried this with the Express edition however, but I don't see why they wouldn't include it in there.
You can delete the file afterwards and it will still retain the setting.
How about this:
WoVS Default Browser Switcher
http://visualstudiogallery.msdn.microsoft.com/bb424812-f742-41ef-974a-cdac607df921
You right on the page shown in solution explorer and then browse with whatever browser you want to set and add it as default browser.

How to launch silverlight with IE in Visual Studio while Google Chrome stays default for usual browsing

I cannot debug silverlight with Google Chrome. I don't want to change default browser to IE for my normal internet browsing.
How to only ask to run IE when running a silverlight project in Visual Studio ?
In Visual Studio you can specify the browser to use when running a web project. Right click on the start webpage in your web project and click on the Browse With option.
In the dialog that appears click on Chrome and set it to default.
This will not change you default browser in Windows.
Right Click on ClientBin it is in your Projectweb.and change the default browser or remove the un wanted browser then click ok. Thats it.
or
ProjectWeb->Browse with->change the default browser->ok
Or, just install the IETab extension for Chrome, then set it to automatically run the Silverlight page in IE mode.
https://chrome.google.com/webstore/detail/ie-tab/hehijbfgiekmjfkfjpbkbammjbdenadd

Resources