Posted March 8th, 2010 by MatthiasVance
LS,
I am trying out VS.PHP for the third day now, and I've come across some annoying things.
Most of our project are ASP.NET based, and it isn't possible to add PHP files to them using "Add new item...".
When I just add a regular HTML file, it will (by default) get saved with UTF-8 encoding, and this doesn't work properly when using sessions.
I really like the functionality of VS.PHP (I could use the code functions just fine), but this is one major issue that prevents us from acquiring the product.
Kind regards,
Matthias Vance
juanc says:
To get all the features in VS.Php you need to create a PHP project instead of a ASP.Net project.
Why would you want to use an ASP.Net project instead?
MatthiasVance says:
Well in the case of having different software packages running on one website, I -could- define different websites for all of them, but that would make it more difficult to administrate them.
What I would like is just be able to open Visual Studio, open the project, start at the root and work from there.
That means I need to use an ASP.NET project, since most of our software is.
Kind regards,
Matthias Vance
juanc says:
Makes sense but since the ASP.Net project does not know anything about PHP you will get limited functionality.
In a single solution you can create two projects, one ASP.Net and one PHP. That would probably get you the most functionality.
MatthiasVance says:
I gave it some thought over the last 2 days, and I think the best think to do would be not want to mix two different projects.
I was going to request such ability, and maybe it'll be there in the future, who knows.
For now, I'll work with different projects.
Thank you!
Kind regards,
Matthias Vance
PS:
I set it to track this thread, but I don't receive any e-mails when you reply to me.