Cannot exit Project Properties due to StartUrlValue error

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

Cannot exit Project Properties due to StartUrlValue error

Postby topsecretdavid » December 5th, 2018, 10:59 pm

PHP Tools for Visual Studio 1.30.11038.2017

Repro steps:

1. Open a *.phpproj
2. Open Project Properties
3. Go to the Application tab
4. Go to "Start action"
5. Select "Start URL" and clear the textbox
6. Select "Current page"
7. Click the "Save all" button to save changes to the *.phpproj file
8. You will get this error message: "Property 'StartUrlValue' cannot be set. Invalid URI: The URI is empty."
9. We should not get the error message when "Start URL" is not selected.
10. Additionally, I cannot exit Visual Studio or close the project or solution - the error message dialog is always displayed and neither does the message explain how to fix it (I thought it was valid to have the textbox unselected and empty - but it also rejects relative URIs and some semi-correct (malformed) URIs.

PHP Tools for Visual Studio should allow us to exit project properties and close Visual Studio even when the settings values are invalid.

At the very lease, please change the error message text to be more helpful and instruct us to specify an arbitrary absolute URI in the "Start URL" textbox (e.g. "http://www.google.com") to allow us to close VS.
You do not have the required permissions to view the files attached to this post.
topsecretdavid
 
Posts: 5
Joined: December 23rd, 2015, 2:26 pm

Re: Cannot exit Project Properties due to StartUrlValue erro

Postby maros.beno » December 11th, 2018, 12:07 pm

Hi,
thank you for letting us know about this error. Fix will be available in the next update.
Have a nice day.
Maroš Beňo
User avatar
maros.beno
 
Posts: 61
Joined: October 12th, 2016, 12:11 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 4 guests

User Control Panel

Login

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 89 on October 15th, 2018, 4:06 pm

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