Run button replaced with Web Server and not web broswers

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Run button replaced with Web Server and not web broswers

Postby rickerw4pc » April 25th, 2018, 7:24 pm

Is this a devsense issue or a VS 2017.

See attached image.. The run button is replaced by Web Server and in the past it would be replaced with a dropdown of the browers that can be run by it.

Is there a setting somewhere to change this.
You do not have the required permissions to view the files attached to this post.
rickerw4pc
 
Posts: 3
Joined: January 17th, 2018, 9:47 pm

Re: Run button replaced with Web Server and not web broswers

Postby Miloslav Beno » April 26th, 2018, 12:37 pm

Hello,

Thanks for letting us know. It's caused by recent VS2017 update. I will take a look how we can workaround.

Actually if you choose "PHP Web Project for Microsoft Platforms" or in the latest version you turn on "MS Publish" when creating project, you will have a possibility to switch the browser

But anyway let me take a look and get back to you.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1223
Joined: January 7th, 2012, 8:36 pm

Re: Run button replaced with Web Server and not web broswers

Postby Miloslav Beno » May 18th, 2018, 7:14 pm

Hello,

Please try the 1.28 version https://www.devsense.com/download. We've managed to get browser selection work again in VS2017.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1223
Joined: January 7th, 2012, 8:36 pm

Re: Run button replaced with Web Server and not web broswers

Postby rickerw4pc » May 18th, 2018, 9:57 pm

It did fix the browser issue, but ran into an issue displaying HTML files

Ive attached pics from version 127 and 128 to show you the issue.
You do not have the required permissions to view the files attached to this post.
rickerw4pc
 
Posts: 3
Joined: January 17th, 2018, 9:47 pm

Re: Run button replaced with Web Server and not web broswers

Postby Miloslav Beno » May 21st, 2018, 8:55 am

Hello,

Thanks for the post.

I see! I guess we do not do something in our project system that old HTML editor wants. What you can do is to switch to new HTML editor, which is default in VS2017 anyway. Also the HTML (Web Forms) Editor is discontinued so it's very likely it will not be present in the some of the next VS releases.

Try to go Tools | Options | Text Editor | File Extensions . You most likely have HTML mapped to HTML (web Forms), try to remove the mapping.

Please let me know if that helped.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1223
Joined: January 7th, 2012, 8:36 pm

Re: Run button replaced with Web Server and not web broswers

Postby rickerw4pc » May 21st, 2018, 9:09 pm

actually I had to add this mapping, as neither the HTML or HTML (webforms) didnt have any mapping

all is well in the universe now
You do not have the required permissions to view the files attached to this post.
rickerw4pc
 
Posts: 3
Joined: January 17th, 2018, 9:47 pm

Re: Run button replaced with Web Server and not web broswers

Postby Miloslav Beno » May 22nd, 2018, 3:18 pm

Hi,

html and htm files are supposed to be handled by HTML Editor by default - it shouldn't be necessary to explicitly specify the editor mapping. If not, that would be different issue.

Anyway let's enjoy the fact that it works now :-)

Cheers!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1223
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 3 guests

cron

User Control Panel

Login

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 77 on September 4th, 2018, 9:46 pm

Users browsing this forum: No registered users and 3 guests
Phalanger