Is it possible? combined web and console project

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

Is it possible? combined web and console project

Postby urosg » January 4th, 2018, 10:12 am

Hi,

While developing Yii2 applications it would be nice to be able to debug both web and console part of the project.

Could this be done somehow through "Solution configurations"?

Or should I create two separate projects with the same contents to be able to do this?

Thanks!

Uros
urosg
 
Posts: 51
Joined: February 24th, 2016, 2:05 am

Re: Is it possible? combined web and console project

Postby JenniferT » November 29th, 2018, 11:34 am

You can add a Console application in Web Application project, and these two can use the same class libraries. For local testing through Visual Studio you can then add both these as Startup projects.
JenniferT
 
Posts: 1
Joined: November 19th, 2018, 4:02 am


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 9 guests

cron

User Control Panel

Login

Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)
Most users ever online was 151 on December 6th, 2020, 7:46 am

Users browsing this forum: No registered users and 9 guests