Page 1 of 1

Is it possible? combined web and console project

PostPosted: January 4th, 2018, 10:12 am
by urosg
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

Re: Is it possible? combined web and console project

PostPosted: November 29th, 2018, 11:34 am
by JenniferT
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.