First Test Issue - WindowsForms

Phalanger Tools for Visual Studio [?] is complete PHP/Phalanger integration into Visual Studio development environment.

First Test Issue - WindowsForms

Postby mr.eslamo » December 6th, 2014, 12:15 pm

Please help after installing phalanger to VS2012 Ultimate

1- I activated the trial mode to test all functions supported.

2- I tried to create a new Phalanger WindowsForms application.

3- I added a new form to the project then i received this error here.

Error 1 Syntax error: unexpected token 'class' C:\Users\VMachine\Documents\Visual Studio 2012\Projects\Test\Test\Main.php 6 10 Test

This Line Contains:

partial class Main extends \System\Windows\Forms\Form{

I tried to remove 'partial' and error gone but while running nothing happens and application not starting then debug stops.

Note: I changed the start up file/class to be Main.php in the App Properties.
mr.eslamo
 
Posts: 1
Joined: December 4th, 2014, 2:06 pm

Re: First Test Issue - WindowsForms

Postby Jakub Misek » December 8th, 2014, 3:05 pm

Hi,

WinForms have been deprecated, the project type is there for backward compatibility purposes.

Anyway, the error is listed in Error List window? Or it breaks Designer window? Otherwise you should not modify generated file and you should be able to run the project as it is.
Jakub Misek │ DEVSENSE s.r.o. │ Email: jakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2058
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger