First Test Issue - WindowsForms
2 posts
• Page 1 of 1
First Test Issue - WindowsForms
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.
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
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.
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest